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

Skip to content

Commit 53f5695

Browse files
committed
Clarify the effect of PolygonCollection properties on Quiver
1 parent d56e1b4 commit 53f5695

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/matplotlib/quiver.py

Lines changed: 7 additions & 2 deletions
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.
@@ -177,7 +182,7 @@
177182
Explicit color(s) for the arrows. If *C* has been set, *color* has no
178183
effect.
179184
180-
This is a synonym for the `~.PolyCollection` *facecolor* parameter.
185+
This is a synonym for the `.PolyCollection` *facecolor* parameter.
181186
182187
Other Parameters
183188
----------------
@@ -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)