MCPcopy
hub / github.com/matplotlib/matplotlib / plot

Method plot

galleries/examples/specialty_plots/radar_chart.py:69–73  ·  view source on GitHub ↗

Override plot so that line is closed by default

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

67 return super().fill(closed=closed, *args, **kwargs)
68
69 def plot(self, *args, **kwargs):
70 """Override plot so that line is closed by default"""
71 lines = super().plot(*args, **kwargs)
72 for line in lines:
73 self._close_line(line)
74
75 def _close_line(self, line):
76 x, y = line.get_data()

Callers 15

psd_demo.pyFile · 0.45
boxplot_demo.pyFile · 0.45
csd_demo.pyFile · 0.45
cohere.pyFile · 0.45
anscombe.pyFile · 0.45
mri_with_eeg.pyFile · 0.45
draw_spineFunction · 0.45
bullseye_plotFunction · 0.45

Calls 1

_close_lineMethod · 0.95

Tested by

no test coverage detected