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 ce4076c

Browse filesBrowse files
meeseeksmachinetimhoffm
authored andcommitted
Backport PR #12489: Fix typo in documentation of ylim (#12490)
1 parent 6c2f864 commit ce4076c
Copy full SHA for ce4076c

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ def ylim(*args, **kwargs):
14571457
*top* as kwargs, i.e.::
14581458
14591459
ylim(top=3) # adjust the top leaving bottom unchanged
1460-
ylim(bottom=1) # adjust the top leaving bottom unchanged
1460+
ylim(bottom=1) # adjust the bottom leaving top unchanged
14611461
14621462
Setting limits turns autoscaling off for the y-axis.
14631463

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.