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

Skip to content

Commit 3f1adf5

Browse files
committed
Barbs: Documentation updates/cleanup.
1 parent d871d44 commit 3f1adf5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/matplotlib/quiver.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,8 @@ def _make_barbs(self, u, v, nflags, nbarbs, half_barb, empty_flag, length,
10091009
10101010
*pivot* specifies the point on the barb around which the
10111011
entire barb should be rotated. Right now, valid options are
1012-
'head' and 'middle'.
1012+
'tip' and 'middle'. Can also be a number, which shifts the start
1013+
of the barb that many units from the origin.
10131014
10141015
*sizes* is a dictionary of coefficients specifying the ratio
10151016
of a given feature to the length of the barb. These features
@@ -1032,7 +1033,7 @@ def _make_barbs(self, u, v, nflags, nbarbs, half_barb, empty_flag, length,
10321033
10331034
*flip* is a flag indicating whether the features should be flipped to
10341035
the other side of the barb (useful for winds in the southern
1035-
hemisphere.
1036+
hemisphere).
10361037
10371038
This function returns list of arrays of vertices, defining a polygon
10381039
for each of the wind barbs. These polygons have been rotated to

0 commit comments

Comments
 (0)