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

Function test_inset_projection

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

Source from the content-addressed store, hash-verified

8391
8392
8393def test_inset_projection():
8394 _, ax = plt.subplots()
8395 axins = ax.inset_axes([0.2, 0.2, 0.3, 0.3], projection="hammer")
8396 assert isinstance(axins, HammerAxes)
8397
8398
8399def test_inset_subclass():

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…