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

Function test_rcparams

lib/matplotlib/tests/test_figure.py:1675–1685  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

1673
1674@check_figures_equal()
1675def 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
1688def test_deepcopy():

Callers

nothing calls this directly

Calls 3

supxlabelMethod · 0.80
supylabelMethod · 0.80
suptitleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…