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

Skip to content

Commit 3ecd588

Browse files
committed
DOC: remove note about ylimit order
1 parent 4e8ddad commit 3ecd588

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/projections/polar.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def refresh(self):
447447
def view_limits(self, vmin, vmax):
448448
vmin, vmax = self.base.view_limits(vmin, vmax)
449449
if vmax > vmin:
450+
# this allows inverted r/y-lims
450451
vmin = min(0, vmin)
451452
return mtransforms.nonsingular(vmin, vmax)
452453

@@ -1221,10 +1222,6 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
12211222
ylimits : tuple
12221223
Returns the new y-axis limits as (*bottom*, *top*).
12231224
1224-
Notes
1225-
-----
1226-
The *bottom* value must be less than the *top* value, or a
1227-
ValueError is raised.
12281225
"""
12291226

12301227
if ymin is not None:

0 commit comments

Comments
 (0)