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 1dcf51b

Browse filesBrowse files
dstansbyMeeseeksDev[bot]
authored andcommitted
Backport PR #13667: Fix incorrect signature in axis() doc.
1 parent fd915c1 commit 1dcf51b
Copy full SHA for 1dcf51b

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/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ def axis(self, *args, **kwargs):
15961596
Call signatures::
15971597
15981598
xmin, xmax, ymin, ymax = axis()
1599-
xmin, xmax, ymin, ymax = axis(xmin, xmax, ymin, ymax)
1599+
xmin, xmax, ymin, ymax = axis([xmin, xmax, ymin, ymax])
16001600
xmin, xmax, ymin, ymax = axis(option)
16011601
xmin, xmax, ymin, ymax = axis(**kwargs)
16021602

0 commit comments

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