Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bf216a

Browse files
authored
Merge pull request #20301 from timhoffm/doc-quiver
Clarify the effect of PolygonCollection properties on Quiver
2 parents 7634823 + 788f402 commit 1bf216a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/matplotlib/quiver.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
*X*, *Y* define the arrow locations, *U*, *V* define the arrow directions, and
3939
*C* optionally sets the color.
4040
41+
Each arrow is internally represented by a filled polygon with a default edge
42+
linewidth of 0. As a result, an arrow is rather a filled area, not a line with
43+
a head, and `.PolyCollection` properties like *linewidth*, *linestyle*,
44+
*facecolor*, etc. act accordingly.
45+
4146
**Arrow size**
4247
4348
The default settings auto-scales the length of the arrows to a reasonable size.
@@ -188,7 +193,7 @@
188193
189194
Returns
190195
-------
191-
matplotlib.quiver.Quiver
196+
`~matplotlib.quiver.Quiver`
192197
193198
See Also
194199
--------

0 commit comments

Comments
 (0)