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

Function test_margins_errors

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:2374–2378  ·  view source on GitHub ↗
(err, args, kwargs, match)

Source from the content-addressed store, hash-verified

2372 (TypeError, (1, 1), {}, 'Must pass a single positional argument for'),
2373))
2374def test_margins_errors(err, args, kwargs, match):
2375 with pytest.raises(err, match=match):
2376 fig = plt.figure()
2377 ax = fig.add_subplot(projection='3d')
2378 ax.margins(*args, **kwargs)
2379
2380
2381@check_figures_equal()

Callers

nothing calls this directly

Calls 3

figureMethod · 0.80
add_subplotMethod · 0.80
marginsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…