MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_long_path

Function test_long_path

lib/matplotlib/tests/test_agg.py:85–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_long_path():
86 buff = io.BytesIO()
87 fig = Figure()
88 ax = fig.subplots()
89 points = np.ones(100_000)
90 points[::2] *= -1
91 ax.plot(points)
92 fig.savefig(buff, format='png')
93
94
95@image_comparison(['agg_filter.png'], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 4

savefigMethod · 0.95
FigureClass · 0.90
subplotsMethod · 0.45
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…