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

Function test_scale_deepcopy

lib/matplotlib/tests/test_scale.py:269–273  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267
268
269def test_scale_deepcopy():
270 sc = mscale.LogScale(axis='x', base=10)
271 sc2 = copy.deepcopy(sc)
272 assert str(sc.get_transform()) == str(sc2.get_transform())
273 assert sc._transform is not sc2._transform
274
275
276class TestAsinhScale:

Callers

nothing calls this directly

Calls 3

get_transformMethod · 0.95
deepcopyMethod · 0.80
get_transformMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…