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

Function test_logscale_subs

lib/matplotlib/tests/test_scale.py:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141
142def test_logscale_subs():
143 fig, ax = plt.subplots()
144 ax.set_yscale('log', subs=np.array([2, 3, 4]))
145 # force draw
146 fig.canvas.draw()
147
148
149@image_comparison(['logscale_mask.png'], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
set_yscaleMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…