File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
lib/matplotlib/projections Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -995,15 +995,43 @@ def _gen_axes_spines(self):
995
995
return spines
996
996
997
997
def set_thetamax (self , thetamax ):
998
+ """
999
+ Set the maximum theta limit.
1000
+
1001
+ Parameters
1002
+ ----------
1003
+ thetamax : float
1004
+ Maximum theta limit in degrees.
1005
+ """
998
1006
self .viewLim .x1 = np .deg2rad (thetamax )
999
1007
1000
1008
def get_thetamax (self ):
1009
+ """
1010
+ Returns
1011
+ -------
1012
+ thetamax : float
1013
+ Maximum theta limit in degrees.
1014
+ """
1001
1015
return np .rad2deg (self .viewLim .xmax )
1002
1016
1003
1017
def set_thetamin (self , thetamin ):
1018
+ """
1019
+ Set the minimum theta limit.
1020
+
1021
+ Parameters
1022
+ ----------
1023
+ thetamin : float
1024
+ Minimum theta limit in degrees.
1025
+ """
1004
1026
self .viewLim .x0 = np .deg2rad (thetamin )
1005
1027
1006
1028
def get_thetamin (self ):
1029
+ """
1030
+ Returns
1031
+ -------
1032
+ thetamin : float
1033
+ Minimum theta limit in degrees.
1034
+ """
1007
1035
return np .rad2deg (self .viewLim .xmin )
1008
1036
1009
1037
def set_thetalim (self , * args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments