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

Method plot

DemoPrograms/Demo_Matplotlib_Browser.py:484–488  ·  view source on GitHub ↗

Override plot so that line is closed by default

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

482 return super(RadarAxes, self).fill(closed=closed, *args, **kwargs)
483
484 def plot(self, *args, **kwargs):
485 """Override plot so that line is closed by default"""
486 lines = super(RadarAxes, self).plot(*args, **kwargs)
487 for line in lines:
488 self._close_line(line)
489
490 def _close_line(self, line):
491 x, y = line.get_data()

Callers 15

your_matplotlib_codeFunction · 0.45
mainFunction · 0.45
graph_a_pingFunction · 0.45
PyplotSimpleFunction · 0.45
PyplotLineStylesFunction · 0.45
PyplotGGPlotSytleSheetFunction · 0.45
PyplotRadarChartFunction · 0.45
DifferentScalesFunction · 0.45
PyplotFormatstrFunction · 0.45
UnicodeMinusFunction · 0.45
PyplotScalesFunction · 0.45
create_figureFunction · 0.45

Calls 1

_close_lineMethod · 0.95

Tested by

no test coverage detected