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

Appearance settings

Commit 3ecd588

Browse filesBrowse files
committed
DOC: remove note about ylimit order
1 parent 4e8ddad commit 3ecd588
Copy full SHA for 3ecd588

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎lib/matplotlib/projections/polar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/projections/polar.py
+1-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.