Skip to content

Commit 8465b0f

Browse files
authored
Correct doc for axvline arg x which sets x not y
Fixes matplotlib#29606
1 parent b8b6899 commit 8465b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
818818
Parameters
819819
----------
820820
x : float, default: 0
821-
y position in :ref:`data coordinates <coordinate-systems>`.
821+
x position in :ref:`data coordinates <coordinate-systems>`.
822822
823823
ymin : float, default: 0
824824
The start y-position in :ref:`axes coordinates <coordinate-systems>`.

0 commit comments

Comments
 (0)