Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cc88c7

Browse files
authored
Merge pull request#16518 from meeseeksmachine/auto-backport-of-pr-16502-on-v3.2.x
Backport PR#16502 on branch v3.2.x (Document theta getters/setters)
2 parents308f2c2 +7f85b70 commit5cc88c7

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
@@ -1016,15 +1016,19 @@ def _gen_axes_spines(self):
10161016
returnspines
10171017

10181018
defset_thetamax(self,thetamax):
1019+
"""Set the maximum theta limit in degrees."""
10191020
self.viewLim.x1=np.deg2rad(thetamax)
10201021

10211022
defget_thetamax(self):
1023+
"""Return the maximum theta limit in degrees."""
10221024
returnnp.rad2deg(self.viewLim.xmax)
10231025

10241026
defset_thetamin(self,thetamin):
1027+
"""Set the minimum theta limit in degrees."""
10251028
self.viewLim.x0=np.deg2rad(thetamin)
10261029

10271030
defget_thetamin(self):
1031+
"""Get the minimum theta limit in degrees."""
10281032
returnnp.rad2deg(self.viewLim.xmin)
10291033

10301034
defset_thetalim(self,*args,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp