Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df643ef

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

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.