From 289c2d9352523e896a0734f4defdd5a48a9e4fb4 Mon Sep 17 00:00:00 2001 From: Tim Heap Date: Wed, 10 Sep 2025 15:16:17 +1000 Subject: [PATCH] Fix scale_unit/scale_units typo in quiver docs The example was missing the *s*, so copy+pasting the example gave an error when plotting. --- lib/matplotlib/quiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 91c510ca7060..df693c57d272 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,7 +144,7 @@ length in y direction = $\\frac{v}{\\mathrm{scale}} \\mathrm{scale_unit}$ - For example, ``(u, v) = (0.5, 0)`` with ``scale=10, scale_unit="width"`` results + For example, ``(u, v) = (0.5, 0)`` with ``scale=10, scale_units="width"`` results in a horizontal arrow with a length of *0.5 / 10 * "width"*, i.e. 0.05 times the Axes width.