Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66f03a3

Browse files
committed
Update set_thetalim documentation
1 parent 85a96fb commit 66f03a3

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

lib/matplotlib/projections/polar.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,12 +1010,13 @@ def set_thetalim(self, *args, **kwargs):
10101010
"""
10111011
Set the minimum and maximum theta values.
10121012
1013-
Parameters
1014-
----------
1015-
thetamin : float
1016-
Minimum value in degrees.
1017-
thetamax : float
1018-
Maximum value in degrees.
1013+
Can take the following signatures:
1014+
1015+
- ``set_thetalim(minval, maxval)``: Set the limits in radians.
1016+
- ``set_thetalim(thetamin=minval, thetamax=maxval)``: Set the limits
1017+
in degrees.
1018+
1019+
where minval and maxval are the minimum and maximum limits.
10191020
"""
10201021
if 'thetamin' in kwargs:
10211022
kwargs['xmin'] = np.deg2rad(kwargs.pop('thetamin'))

0 commit comments

Comments
 (0)