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

Function test_invisible_axes_events

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

Source from the content-addressed store, hash-verified

9065
9066
9067def test_invisible_axes_events():
9068 # invisible axes should not respond to events...
9069 fig, ax = plt.subplots()
9070 assert fig.canvas.inaxes((200, 200)) is not None
9071 ax.set_visible(False)
9072 assert fig.canvas.inaxes((200, 200)) is None
9073
9074
9075def test_xtickcolor_is_not_markercolor():

Callers

nothing calls this directly

Calls 3

inaxesMethod · 0.80
subplotsMethod · 0.45
set_visibleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…