| 1673 | |
| 1674 | @check_figures_equal() |
| 1675 | def test_rcparams(fig_test, fig_ref): |
| 1676 | fig_ref.supxlabel("xlabel", weight='bold', size=15) |
| 1677 | fig_ref.supylabel("ylabel", weight='bold', size=15) |
| 1678 | fig_ref.suptitle("Title", weight='light', size=20) |
| 1679 | with mpl.rc_context({'figure.labelweight': 'bold', |
| 1680 | 'figure.labelsize': 15, |
| 1681 | 'figure.titleweight': 'light', |
| 1682 | 'figure.titlesize': 20}): |
| 1683 | fig_test.supxlabel("xlabel") |
| 1684 | fig_test.supylabel("ylabel") |
| 1685 | fig_test.suptitle("Title") |
| 1686 | |
| 1687 | |
| 1688 | def test_deepcopy(): |