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

Function test_alias

lib/matplotlib/tests/test_style.py:164–172  ·  view source on GitHub ↗
(equiv_styles)

Source from the content-addressed store, hash-verified

162 ('mpl15', 'classic')],
163 ids=['mpl20', 'mpl15'])
164def test_alias(equiv_styles):
165 rc_dicts = []
166 for sty in equiv_styles:
167 with style.context(sty):
168 rc_dicts.append(mpl.rcParams.copy())
169
170 rc_base = rc_dicts[0]
171 for nm, rc in zip(equiv_styles[1:], rc_dicts[1:]):
172 assert rc_base == rc
173
174
175def test_xkcd_no_cm():

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…