Skip to content

Commit df643ef

Browse files
gdmcbainmeeseeksmachine
authored andcommitted
Backport PR #29607: Correct doc for axvline arg x which sets x not y
1 parent 5affd07 commit df643ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
823823
Parameters
824824
----------
825825
x : float, default: 0
826-
y position in :ref:`data coordinates <coordinate-systems>`.
826+
x position in :ref:`data coordinates <coordinate-systems>`.
827827
828828
ymin : float, default: 0
829829
The start y-position in :ref:`axes coordinates <coordinate-systems>`.

0 commit comments

Comments
 (0)