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

Function test_minor_ticks

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:1697–1704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1695
1696@image_comparison(["minor_ticks.png"], style="mpl20")
1697def test_minor_ticks():
1698 ax = plt.figure().add_subplot(projection="3d")
1699 ax.set_xticks([0.25], minor=True)
1700 ax.set_xticklabels(["quarter"], minor=True)
1701 ax.set_yticks([0.33], minor=True)
1702 ax.set_yticklabels(["third"], minor=True)
1703 ax.set_zticks([0.50], minor=True)
1704 ax.set_zticklabels(["half"], minor=True)
1705
1706
1707# remove tolerance when regenerating the test image

Callers

nothing calls this directly

Calls 4

add_subplotMethod · 0.80
figureMethod · 0.80
set_xticksMethod · 0.80
set_yticksMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…