MCPcopy
hub / github.com/matplotlib/matplotlib / test_set_line_coll_dash_image

Function test_set_line_coll_dash_image

lib/matplotlib/tests/test_skew.py:137–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136@image_comparison(['skew_axes.png'], remove_text=True, style='_classic_test')
137def test_set_line_coll_dash_image():
138 fig = plt.figure()
139 ax = fig.add_subplot(1, 1, 1, projection='skewx')
140 ax.set_xlim(-50, 50)
141 ax.set_ylim(50, -50)
142 ax.grid(True)
143
144 # An example of a slanted line at constant X
145 ax.axvline(0, color='b')
146
147
148@image_comparison(['skew_rects.png'], remove_text=True, style='_classic_test',

Callers

nothing calls this directly

Calls 6

figureMethod · 0.80
add_subplotMethod · 0.80
axvlineMethod · 0.80
set_xlimMethod · 0.45
set_ylimMethod · 0.45
gridMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…