()
| 1800 | |
| 1801 | |
| 1802 | def 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 | |
| 1812 | def test_suplots_adjust_incremental(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…