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

Function test_inset_indicator_zorder

lib/matplotlib/tests/test_inset.py:85–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_inset_indicator_zorder():
86 fig, ax = plt.subplots()
87 rect = [0.2, 0.2, 0.3, 0.4]
88
89 inset = ax.indicate_inset(rect)
90 assert inset.get_zorder() == 4.99
91
92 inset = ax.indicate_inset(rect, zorder=42)
93 assert inset.get_zorder() == 42
94
95
96@image_comparison(['zoom_inset_connector_styles.png'], remove_text=True, style='mpl20',

Callers

nothing calls this directly

Calls 3

indicate_insetMethod · 0.80
get_zorderMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…