Skip to content

Commit d7487a6

Browse files
committed
Document theta getters/setters
1 parent 85a96fb commit d7487a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,15 +995,19 @@ def _gen_axes_spines(self):
995995
return spines
996996

997997
def set_thetamax(self, thetamax):
998+
"""Set the maximum theta limit in degrees."""
998999
self.viewLim.x1 = np.deg2rad(thetamax)
9991000

10001001
def get_thetamax(self):
1002+
"""Return the maximum theta limit in degrees."""
10011003
return np.rad2deg(self.viewLim.xmax)
10021004

10031005
def set_thetamin(self, thetamin):
1006+
"""Set the minimum theta limit in degrees."""
10041007
self.viewLim.x0 = np.deg2rad(thetamin)
10051008

10061009
def get_thetamin(self):
1010+
"""Get the minimum theta limit in degrees."""
10071011
return np.rad2deg(self.viewLim.xmin)
10081012

10091013
def set_thetalim(self, *args, **kwargs):

0 commit comments

Comments
 (0)