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

Function test_rcparams_update

lib/matplotlib/tests/test_rcparams.py:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def test_rcparams_update():
104 rc = mpl.RcParams({'figure.figsize': (3.5, 42)})
105 bad_dict = {'figure.figsize': (3.5, 42, 1)}
106 # make sure validation happens on input
107 with pytest.raises(ValueError):
108 rc.update(bad_dict)
109
110
111def test_rcparams_init():

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…