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

Function test_inset_and_secondary

lib/matplotlib/tests/test_pickle.py:260–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258
259
260def test_inset_and_secondary():
261 fig, ax = plt.subplots()
262 ax.inset_axes([.1, .1, .3, .3])
263 ax.secondary_xaxis("top", functions=(np.square, np.sqrt))
264 pickle.loads(pickle.dumps(fig))
265
266
267@pytest.mark.parametrize("cmap", cm._colormaps.values())

Callers

nothing calls this directly

Calls 3

inset_axesMethod · 0.80
secondary_xaxisMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…