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

Function test_set_offset_transform

lib/matplotlib/tests/test_collections.py:1302–1309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1300
1301
1302def test_set_offset_transform():
1303 skew = mtransforms.Affine2D().skew(2, 2)
1304 init = mcollections.Collection(offset_transform=skew)
1305
1306 late = mcollections.Collection()
1307 late.set_offset_transform(skew)
1308
1309 assert skew == init.get_offset_transform() == late.get_offset_transform()
1310
1311
1312def test_set_offset_units():

Callers

nothing calls this directly

Calls 3

set_offset_transformMethod · 0.95
get_offset_transformMethod · 0.95
skewMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…