From 7cd83352fd62ae57793f9f341cd1b207ae84309d Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sat, 7 Mar 2026 19:13:10 +0530 Subject: [PATCH 01/22] DOC: fix rendering of quiver documentation --- lib/matplotlib/quiver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index f7af947e68c8..cf9bf901ce5f 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -141,11 +141,11 @@ The physical image unit, which is used for rendering the scaled arrow data *U*, *V*. - The rendered arrow length is given by +The rendered arrow length is given by: - length in x direction = $\\frac{u}{\\mathrm{scale}} \\mathrm{scale_unit}$ +length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale_unit}$ - length in y direction = $\\frac{v}{\\mathrm{scale}} \\mathrm{scale_unit}$ +length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale_unit}$ 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 From b3f5db8ccbad7d368cb2402f7cce61872c6e450c Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 16:30:49 +0530 Subject: [PATCH 02/22] DOC: fix rendering of quiver documentation (u/v direction) --- lib/matplotlib/quiver.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index cf9bf901ce5f..24dd4461ef33 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -141,12 +141,15 @@ The physical image unit, which is used for rendering the scaled arrow data *U*, *V*. + The rendered arrow length is given by: + length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale_unit}$ length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale_unit}$ + 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. From ed80c5278b2db03b6a2b96c5ca6f1f8136fba7e5 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 16:38:06 +0530 Subject: [PATCH 03/22] DOC: fix invalid escape sequence in quiver docstring --- lib/matplotlib/quiver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 24dd4461ef33..fa32dc26d080 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -27,7 +27,7 @@ import matplotlib.transforms as transforms -_quiver_doc = """ +_quiver_doc = r""" Plot a 2D field of arrows. Call signature:: @@ -144,12 +144,10 @@ The rendered arrow length is given by: - length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale_unit}$ length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale_unit}$ - 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. From 7e26a53fae5e82da265466bfbcd97290de0f8c15 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 19:51:38 +0530 Subject: [PATCH 04/22] DOC: fix math rendering in quiver documentation --- lib/matplotlib/quiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index fa32dc26d080..fc5f236699aa 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,9 +144,9 @@ The rendered arrow length is given by: -length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale_unit}$ +length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale\_units}$ -length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale_unit}$ +length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale\_units}$ 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 From f7d7966208f3fa1d205270a5073e28328c6a385f Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 20:46:45 +0530 Subject: [PATCH 05/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index fc5f236699aa..e8d55d86f256 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,9 +144,9 @@ The rendered arrow length is given by: -length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale\_units}$ +length in x direction = $\frac{u}{\mathrm{scale}}\ \mathrm{scale\_units}$ -length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale\_units}$ +length in y direction = $\frac{v}{\mathrm{scale}}\ \mathrm{scale\_units}$ 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 From f23b879787409a1626f91d03e82cdbd209318dd5 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 21:17:36 +0530 Subject: [PATCH 06/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index e8d55d86f256..fc5f236699aa 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,9 +144,9 @@ The rendered arrow length is given by: -length in x direction = $\frac{u}{\mathrm{scale}}\ \mathrm{scale\_units}$ +length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale\_units}$ -length in y direction = $\frac{v}{\mathrm{scale}}\ \mathrm{scale\_units}$ +length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale\_units}$ 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 From 80186df4e8b0a8277838b68023cbb86ea07e45f7 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Sun, 8 Mar 2026 23:47:23 +0530 Subject: [PATCH 07/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index fc5f236699aa..d3801cc9bcfd 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -142,12 +142,11 @@ The physical image unit, which is used for rendering the scaled arrow data *U*, *V*. -The rendered arrow length is given by: +The rendered arrow length is given by length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale\_units}$ length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale\_units}$ - 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. From 274f8f97754d8373da11992f854faab7d66c74f0 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Mon, 9 Mar 2026 00:15:53 +0530 Subject: [PATCH 08/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index d3801cc9bcfd..0e753df3d01f 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,9 +144,11 @@ The rendered arrow length is given by -length in x direction = $\frac{u}{\mathrm{scale}} \mathrm{scale\_units}$ +.. math:: -length in y direction = $\frac{v}{\mathrm{scale}} \mathrm{scale\_units}$ + \text{length in x direction} = \frac{u}{\mathrm{scale}} \mathrm{scale\_units} + + \text{length in y direction} = \frac{v}{\mathrm{scale}} \mathrm{scale\_units} 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. From c44d6fc08ac0029c86c204ecfddd978f2809b321 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Mon, 9 Mar 2026 01:09:25 +0530 Subject: [PATCH 09/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 0e753df3d01f..82418ec3829f 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -144,11 +144,9 @@ The rendered arrow length is given by -.. math:: +length in x direction = :math:`\frac{u}{\mathrm{scale}} \mathrm{scale\_units}` - \text{length in x direction} = \frac{u}{\mathrm{scale}} \mathrm{scale\_units} - - \text{length in y direction} = \frac{v}{\mathrm{scale}} \mathrm{scale\_units} +length in y direction = :math:`\frac{v}{\mathrm{scale}} \mathrm{scale\_units}` 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. From db31c6021ffbbf60371a5f70ab45e1e99c1ba004 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Mon, 9 Mar 2026 01:11:13 +0530 Subject: [PATCH 10/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 82418ec3829f..e30fa9d83e28 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -143,10 +143,9 @@ The rendered arrow length is given by +length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_units}` -length in x direction = :math:`\frac{u}{\mathrm{scale}} \mathrm{scale\_units}` - -length in y direction = :math:`\frac{v}{\mathrm{scale}} \mathrm{scale\_units}` +length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_units}` 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. From 7f43c765e2cae110c50dc3cb7ef0d4823c5b286b Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Mon, 9 Mar 2026 01:23:10 +0530 Subject: [PATCH 11/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index e30fa9d83e28..c0c1c5b8851d 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -143,9 +143,9 @@ The rendered arrow length is given by -length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_units}` +length in x direction = $\frac{u}{\mathrm{scale}}\,\mathrm{scale\_units}$ -length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_units}` +length in y direction = $\frac{v}{\mathrm{scale}}\,\mathrm{scale\_units}$ 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. From 7245054007fded3738ecb6a8f9ecc06caa583417 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Mon, 9 Mar 2026 08:39:26 +0530 Subject: [PATCH 12/22] DOC: fix quiver math rendering --- lib/matplotlib/quiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index c0c1c5b8851d..8e4183dae35b 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -143,9 +143,9 @@ The rendered arrow length is given by -length in x direction = $\frac{u}{\mathrm{scale}}\,\mathrm{scale\_units}$ +length in x direction = (u / scale) * scale_units -length in y direction = $\frac{v}{\mathrm{scale}}\,\mathrm{scale\_units}$ +length in y direction = (v / scale) * scale_units 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. From be9360e8c45be44e7a2286630e9d82de8a6822ec Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Wed, 11 Mar 2026 23:10:57 +0530 Subject: [PATCH 13/22] Fix indentation in quiver documentation --- lib/matplotlib/quiver.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 8e4183dae35b..c07cf9925e3c 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -138,14 +138,13 @@ The arrow length unit is given by the *scale_units* parameter. scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' + The physical image unit, which is used for rendering the scaled arrow + data U, V. - The physical image unit, which is used for rendering the scaled arrow data *U*, *V*. + The rendered arrow length is given by - -The rendered arrow length is given by -length in x direction = (u / scale) * scale_units - -length in y direction = (v / scale) * scale_units + length in x direction = (u / scale) * scale_units + length in y direction = (v / scale) * scale_units 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. From bf4810544a845621352c6f71abab4e2b7ce6025c Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 01:52:32 +0530 Subject: [PATCH 14/22] Fix formatting of quiver documentation equations --- 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 c07cf9925e3c..afe34187fc3e 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -141,7 +141,7 @@ The physical image unit, which is used for rendering the scaled arrow data U, V. - The rendered arrow length is given by + The rendered arrow length is given by:: length in x direction = (u / scale) * scale_units length in y direction = (v / scale) * scale_units From 793b2d038e07839eddc256c2be8aee363e929925 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 13:39:14 +0530 Subject: [PATCH 15/22] Format quiver documentation equations as bullet points --- lib/matplotlib/quiver.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index afe34187fc3e..432092ee4d39 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -141,10 +141,11 @@ The physical image unit, which is used for rendering the scaled arrow data U, V. - The rendered arrow length is given by:: + The rendered arrow length is given by: + + - length in x direction = (u / scale) * scale_units + - length in y direction = (v / scale) * scale_units - length in x direction = (u / scale) * scale_units - length in y direction = (v / scale) * scale_units 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. From 8e5457a7586fedbbe838b3b1bf2bb180a4ed9426 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 20:52:53 +0530 Subject: [PATCH 16/22] Restore math formatting for quiver scale_units documentation --- lib/matplotlib/quiver.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index 432092ee4d39..d3c1f4d79f74 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -141,11 +141,12 @@ The physical image unit, which is used for rendering the scaled arrow data U, V. - The rendered arrow length is given by: + The rendered arrow length is given by - - length in x direction = (u / scale) * scale_units - - length in y direction = (v / scale) * scale_units + length in x direction = :math:`\frac{u}{\mathrm{scale}} \mathrm{scale\_unit}` + length in y direction = :math:`\frac{v}{\mathrm{scale}} \mathrm{scale\_unit}` + 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. From de85238e51d8848aea42d4623647661539e39592 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 20:57:06 +0530 Subject: [PATCH 17/22] Fix trailing whitespace lint errors --- 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 d3c1f4d79f74..edc0eb4ee5f2 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -146,7 +146,7 @@ length in x direction = :math:`\frac{u}{\mathrm{scale}} \mathrm{scale\_unit}` length in y direction = :math:`\frac{v}{\mathrm{scale}} \mathrm{scale\_unit}` - + 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. From 67cde9508f2c1947f41509c19f58dd2fd629317f Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 23:40:53 +0530 Subject: [PATCH 18/22] Fix formatting of quiver documentation equations --- lib/matplotlib/quiver.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index edc0eb4ee5f2..3c7788c38d8f 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -140,12 +140,10 @@ scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' The physical image unit, which is used for rendering the scaled arrow data U, V. +The rendered arrow length is given by: - The rendered arrow length is given by - - length in x direction = :math:`\frac{u}{\mathrm{scale}} \mathrm{scale\_unit}` - - length in y direction = :math:`\frac{v}{\mathrm{scale}} \mathrm{scale\_unit}` + - length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_unit}` + - length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_unit}` 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 From 189d18a95abd5f3e881615b2f4569b6c33f18098 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Thu, 12 Mar 2026 23:57:14 +0530 Subject: [PATCH 19/22] Fix formatting of quiver documentation equations --- 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 3c7788c38d8f..cf1971718da1 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -140,7 +140,7 @@ scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' The physical image unit, which is used for rendering the scaled arrow data U, V. -The rendered arrow length is given by: + The rendered arrow length is given by: - length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_unit}` - length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_unit}` From 09763e34e9166f233257dca0dc129ea5a39710ee Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Fri, 13 Mar 2026 00:25:20 +0530 Subject: [PATCH 20/22] Fix paragraph break in quiver documentation --- lib/matplotlib/quiver.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index cf1971718da1..d2cbd72655d6 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -140,11 +140,12 @@ scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' The physical image unit, which is used for rendering the scaled arrow data U, V. - The rendered arrow length is given by: + The physical image unit, which is used for rendering the scaled arrow data U, V. + +The rendered arrow length is given by: - length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_unit}` - length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_unit}` - 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. From 45c673d9495c83403786791872a0e381d6a90fa5 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Fri, 13 Mar 2026 01:06:12 +0530 Subject: [PATCH 21/22] Fix paragraph break in quiver documentation --- lib/matplotlib/quiver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/matplotlib/quiver.py b/lib/matplotlib/quiver.py index d2cbd72655d6..604a7fdea249 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -138,11 +138,9 @@ The arrow length unit is given by the *scale_units* parameter. scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' - The physical image unit, which is used for rendering the scaled arrow - data U, V. The physical image unit, which is used for rendering the scaled arrow data U, V. -The rendered arrow length is given by: + The rendered arrow length is given by - length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_unit}` - length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_unit}` From 5bda04e684bd1c91708d5c3c09e7ca93e3a4f7d6 Mon Sep 17 00:00:00 2001 From: amishamehta99 Date: Fri, 13 Mar 2026 02:06:36 +0530 Subject: [PATCH 22/22] Add missing colon in quiver documentation --- 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 604a7fdea249..da1e85950933 100644 --- a/lib/matplotlib/quiver.py +++ b/lib/matplotlib/quiver.py @@ -140,7 +140,7 @@ scale_units : {'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, default: 'width' The physical image unit, which is used for rendering the scaled arrow data U, V. - The rendered arrow length is given by + The rendered arrow length is given by: - length in x direction = :math:`\frac{u}{\mathrm{scale}}\,\mathrm{scale\_unit}` - length in y direction = :math:`\frac{v}{\mathrm{scale}}\,\mathrm{scale\_unit}`