Skip to content
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7cd8335
DOC: fix rendering of quiver documentation
amishamehta99 Mar 7, 2026
b3f5db8
DOC: fix rendering of quiver documentation (u/v direction)
amishamehta99 Mar 8, 2026
ed80c52
DOC: fix invalid escape sequence in quiver docstring
amishamehta99 Mar 8, 2026
7e26a53
DOC: fix math rendering in quiver documentation
amishamehta99 Mar 8, 2026
f7d7966
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
f23b879
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
80186df
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
274f8f9
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
c44d6fc
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
db31c60
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
7f43c76
DOC: fix quiver math rendering
amishamehta99 Mar 8, 2026
7245054
DOC: fix quiver math rendering
amishamehta99 Mar 9, 2026
be9360e
Fix indentation in quiver documentation
amishamehta99 Mar 11, 2026
bf48105
Fix formatting of quiver documentation equations
amishamehta99 Mar 11, 2026
793b2d0
Format quiver documentation equations as bullet points
amishamehta99 Mar 12, 2026
8e5457a
Restore math formatting for quiver scale_units documentation
amishamehta99 Mar 12, 2026
de85238
Fix trailing whitespace lint errors
amishamehta99 Mar 12, 2026
67cde95
Fix formatting of quiver documentation equations
amishamehta99 Mar 12, 2026
189d18a
Fix formatting of quiver documentation equations
amishamehta99 Mar 12, 2026
09763e3
Fix paragraph break in quiver documentation
amishamehta99 Mar 12, 2026
45c673d
Fix paragraph break in quiver documentation
amishamehta99 Mar 12, 2026
5bda04e
Add missing colon in quiver documentation
amishamehta99 Mar 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions lib/matplotlib/quiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import matplotlib.transforms as transforms


_quiver_doc = """
_quiver_doc = r"""
Plot a 2D field of arrows.

Call signature::
Expand Down Expand Up @@ -138,15 +138,12 @@
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

length in x direction = $\\frac{u}{\\mathrm{scale}} \\mathrm{scale_unit}$

length in y direction = $\\frac{v}{\\mathrm{scale}} \\mathrm{scale_unit}$
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.
Expand Down
Loading