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

Function test_marker_rotated

lib/matplotlib/tests/test_marker.py:274–278  ·  view source on GitHub ↗
(marker, deg, rad, expected)

Source from the content-addressed store, hash-verified

272 10, None, Affine2D().translate(1, 1).rotate_deg(10)),
273])
274def test_marker_rotated(marker, deg, rad, expected):
275 new_marker = marker.rotated(deg=deg, rad=rad)
276 assert new_marker is not marker
277 assert new_marker.get_user_transform() == expected
278 assert marker._user_transform is not new_marker._user_transform
279
280
281def test_marker_scaled():

Callers

nothing calls this directly

Calls 2

get_user_transformMethod · 0.80
rotatedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…