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

Skip to content

Commit ce0d65c

Browse files
committed
Fix incorrect signature in axis() doc.
1 parent 3c86054 commit ce0d65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ def axis(self, *args, **kwargs):
15951595
Call signatures::
15961596
15971597
xmin, xmax, ymin, ymax = axis()
1598-
xmin, xmax, ymin, ymax = axis(xmin, xmax, ymin, ymax)
1598+
xmin, xmax, ymin, ymax = axis([xmin, xmax, ymin, ymax])
15991599
xmin, xmax, ymin, ymax = axis(option)
16001600
xmin, xmax, ymin, ymax = axis(**kwargs)
16011601

0 commit comments

Comments
 (0)