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

Function test_ha_for_angle

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

Source from the content-addressed store, hash-verified

1137
1138
1139def test_ha_for_angle():
1140 text_instance = Text()
1141 angles = np.arange(0, 360.1, 0.1)
1142 for angle in angles:
1143 alignment = text_instance._ha_for_angle(angle)
1144 assert alignment in ['center', 'left', 'right']
1145
1146
1147def test_va_for_angle():

Callers

nothing calls this directly

Calls 2

_ha_for_angleMethod · 0.95
TextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…