MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / plot

Method plot

DemoPrograms/Demo_Matplotlib_Browser_Paned.py:490–494  ·  view source on GitHub ↗

Override plot so that line is closed by default

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

488 return super(RadarAxes, self).fill(closed=closed, *args, **kwargs)
489
490 def plot(self, *args, **kwargs):
491 """Override plot so that line is closed by default"""
492 lines = super(RadarAxes, self).plot(*args, **kwargs)
493 for line in lines:
494 self._close_line(line)
495
496 def _close_line(self, line):
497 x, y = line.get_data()

Callers 8

PyplotSimpleFunction · 0.45
PyplotLineStylesFunction · 0.45
PyplotGGPlotSytleSheetFunction · 0.45
PyplotRadarChartFunction · 0.45
DifferentScalesFunction · 0.45
PyplotFormatstrFunction · 0.45
UnicodeMinusFunction · 0.45
PyplotScalesFunction · 0.45

Calls 1

_close_lineMethod · 0.95

Tested by

no test coverage detected