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

Skip to content

Commit 3ce6857

Browse files
committed
doc bug: update axvline docstring
svn path=/trunk/matplotlib/; revision=6900
1 parent 55e0c6b commit 3ce6857

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2880,8 +2880,8 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
28802880
Draw a vertical line at *x* from *ymin* to *ymax*. With the
28812881
default values of *ymin* = 0 and *ymax* = 1, this line will
28822882
always span the vertical extent of the axes, regardless of the
2883-
xlim settings, even if you change them, eg. with the
2884-
:meth:`set_xlim` command. That is, the vertical extent is in
2883+
ylim settings, even if you change them, eg. with the
2884+
:meth:`set_ylim` command. That is, the vertical extent is in
28852885
axes coords: 0=bottom, 0.5=middle, 1.0=top but the *x* location
28862886
is in data coordinates.
28872887

0 commit comments

Comments
 (0)