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

Function test_inset_subclass

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

Source from the content-addressed store, hash-verified

8397
8398
8399def test_inset_subclass():
8400 _, ax = plt.subplots()
8401 axins = ax.inset_axes([0.2, 0.2, 0.3, 0.3], axes_class=AA.Axes)
8402 assert isinstance(axins, AA.Axes)
8403
8404
8405@pytest.mark.parametrize('x_inverted', [False, True])

Callers

nothing calls this directly

Calls 2

inset_axesMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…