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

Function _rotate

lib/matplotlib/text.py:29–33  ·  view source on GitHub ↗

Return an Affine2D object that rotates by the given angle in radians.

(theta)

Source from the content-addressed store, hash-verified

27
28@functools.lru_cache(maxsize=128)
29def _rotate(theta):
30 """
31 Return an Affine2D object that rotates by the given angle in radians.
32 """
33 return Affine2D().rotate(theta)
34
35
36def _rotate_point(angle, x, y):

Callers

nothing calls this directly

Calls 2

Affine2DClass · 0.85
rotateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…