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

Function test_retain_tick_visibility

lib/matplotlib/tests/test_axes.py:7032–7036  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7030
7031@image_comparison(['retain_tick_visibility.png'], style='mpl20')
7032def test_retain_tick_visibility():
7033 fig, ax = plt.subplots()
7034 plt.plot([0, 1, 2], [0, -1, 4])
7035 plt.setp(ax.get_yticklabels(), visible=False)
7036 ax.tick_params(axis="y", which="both", length=0)
7037
7038
7039def test_warn_too_few_labels():

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
plotMethod · 0.45
tick_paramsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…