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

Function test_margin_getters

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:2350–2356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2348
2349
2350def test_margin_getters():
2351 fig = plt.figure()
2352 ax = fig.add_subplot(projection='3d')
2353 ax.margins(0.1, 0.2, 0.3)
2354 assert ax.get_xmargin() == 0.1
2355 assert ax.get_ymargin() == 0.2
2356 assert ax.get_zmargin() == 0.3
2357
2358
2359@pytest.mark.parametrize('err, args, kwargs, match', (

Callers

nothing calls this directly

Calls 6

figureMethod · 0.80
add_subplotMethod · 0.80
get_xmarginMethod · 0.80
get_ymarginMethod · 0.80
get_zmarginMethod · 0.80
marginsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…