From df643efae781e134a23d45e20b209768134c184c Mon Sep 17 00:00:00 2001 From: "G. D. McBain" Date: Wed, 12 Feb 2025 13:48:19 +1100 Subject: [PATCH] Backport PR #29607: Correct doc for axvline arg x which sets x not y --- lib/matplotlib/axes/_axes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 96946fba1e92..eebbdcaed459 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -823,7 +823,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs): Parameters ---------- x : float, default: 0 - y position in :ref:`data coordinates `. + x position in :ref:`data coordinates `. ymin : float, default: 0 The start y-position in :ref:`axes coordinates `.