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

Skip to content

Commit 1dcf51b

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes/_base.py

Lines 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)