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

Method set_angle

lib/matplotlib/patches.py:989–996  ·  view source on GitHub ↗

Set the rotation angle in degrees. The rotation is performed anti-clockwise around *xy*.

(self, angle)

Source from the content-addressed store, hash-verified

987 self.stale = True
988
989 def set_angle(self, angle):
990 """
991 Set the rotation angle in degrees.
992
993 The rotation is performed anti-clockwise around *xy*.
994 """
995 self.angle = angle
996 self.stale = True
997
998 def set_xy(self, xy):
999 """

Callers 2

test_corner_centerFunction · 0.95
test_rotate_rect_drawFunction · 0.95

Calls

no outgoing calls

Tested by 2

test_corner_centerFunction · 0.76
test_rotate_rect_drawFunction · 0.76