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

Function test_minorticks_on_rcParams_both

lib/matplotlib/tests/test_axes.py:628–635  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

626
627@check_figures_equal()
628def test_minorticks_on_rcParams_both(fig_test, fig_ref):
629 with matplotlib.rc_context({"xtick.minor.visible": True,
630 "ytick.minor.visible": True}):
631 ax_test = fig_test.subplots()
632 ax_test.plot([0, 1], [0, 1])
633 ax_ref = fig_ref.subplots()
634 ax_ref.plot([0, 1], [0, 1])
635 ax_ref.minorticks_on()
636
637
638@image_comparison(["autoscale_tiny_range.png"], remove_text=True, style='_classic_test')

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
plotMethod · 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…