MCPcopy
hub / github.com/matplotlib/matplotlib / test_o_marker_path_snap

Function test_o_marker_path_snap

lib/matplotlib/tests/test_axes.py:7074–7081  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7072
7073@image_comparison(['o_marker_path_snap.png'], savefig_kwarg={'dpi': 72}, style='mpl20')
7074def test_o_marker_path_snap():
7075 fig, ax = plt.subplots()
7076 ax.margins(.1)
7077 for ms in range(1, 15):
7078 ax.plot([1, 2, ], np.ones(2) + ms, 'o', ms=ms)
7079
7080 for ms in np.linspace(1, 10, 25):
7081 ax.plot([3, 4, ], np.ones(2) + ms, 'o', ms=ms)
7082
7083
7084def test_margins():

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
marginsMethod · 0.45
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…