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

Function test_minorticks_on

lib/matplotlib/tests/test_axes.py:8175–8180  ·  view source on GitHub ↗
(xscale, yscale)

Source from the content-addressed store, hash-verified

8173@pytest.mark.parametrize('xscale', ['symlog', 'log'])
8174@pytest.mark.parametrize('yscale', ['symlog', 'log'])
8175def test_minorticks_on(xscale, yscale):
8176 ax = plt.subplot()
8177 ax.plot([1, 2, 3, 4])
8178 ax.set_xscale(xscale)
8179 ax.set_yscale(yscale)
8180 ax.minorticks_on()
8181
8182
8183def test_twinx_knows_limits():

Callers

nothing calls this directly

Calls 4

set_xscaleMethod · 0.80
plotMethod · 0.45
set_yscaleMethod · 0.45
minorticks_onMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…