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

Function test_get_rotation_mod360

lib/matplotlib/tests/test_text.py:427–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

425
426
427def test_get_rotation_mod360():
428 for i, j in zip([360., 377., 720+177.2], [0., 17., 177.2]):
429 assert_almost_equal(Text(rotation=i).get_rotation(), j)
430
431
432@pytest.mark.parametrize("ha", ["center", "right", "left"])

Callers

nothing calls this directly

Calls 2

TextClass · 0.90
get_rotationMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…