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

Method set_theta_offset

lib/matplotlib/projections/polar.py:1072–1078  ·  view source on GitHub ↗

Set the offset for the location of 0 in radians.

(self, offset)

Source from the content-addressed store, hash-verified

1070 return tuple(np.rad2deg((new_min, new_max)))
1071
1072 def set_theta_offset(self, offset):
1073 """
1074 Set the offset for the location of 0 in radians.
1075 """
1076 mtx = self._theta_offset.get_matrix()
1077 mtx[0, 2] = offset
1078 self._theta_offset.invalidate()
1079
1080 def get_theta_offset(self):
1081 """

Callers 3

clearMethod · 0.95

Calls 2

get_matrixMethod · 0.45
invalidateMethod · 0.45

Tested by 1