8000 DOC: remove note about ylimit order · matplotlib/matplotlib@c175663 · GitHub
[go: up one dir, main page]

Skip to content

Commit c175663

Browse files
committed
DOC: remove note about ylimit order
1 parent 57a9d80 commit c175663

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
@@ -457,6 +457,7 @@ def refresh(self):
457457
def view_limits(self, vmin, vmax):
458458
vmin, vmax = self.base.view_limits(vmin, vmax)
459459
if vmax > vmin:
460+
# this allows inverted r/y-lims
460461
vmin = min(0, vmin)
461462
return mtransforms.nonsingular(vmin, vmax)
462463

@@ -1243,10 +1244,6 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
12431244
ylimits : tuple
12441245
Returns the new y-axis limits as (*bottom*, *top*).
12451246
1246-
Notes
1247-
-----
1248-
The *bottom* value must be less than the *top* value, or a
1249-
ValueError is raised.
12501247
"""
12511248

12521249
if ymin is not None:

0 commit comments

Comments
 (0)
0