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

Function test_clf_subplotpars

lib/matplotlib/tests/test_figure.py:1802–1809  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1800
1801
1802def test_clf_subplotpars():
1803 keys = ('left', 'right', 'bottom', 'top', 'wspace', 'hspace')
1804 rc_params = {key: plt.rcParams['figure.subplot.' + key] for key in keys}
1805
1806 fig = plt.figure(1)
1807 fig.subplots_adjust(**{k: v+0.01 for k, v in rc_params.items()})
1808 fig.clf()
1809 assert fig.subplotpars.to_dict() == rc_params
1810
1811
1812def test_suplots_adjust_incremental():

Callers

nothing calls this directly

Calls 4

figureMethod · 0.80
subplots_adjustMethod · 0.80
clfMethod · 0.80
to_dictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…