_make_barbs(self, u, v, nflags, nbarbs, half_barb, empty_flag, length, pivot, sizes, fill_empty, flip)
Components of the vector in the x and y directions, respectively.
Respectively, the number of flags, number of barbs, flag for half a barb, and flag for empty barb, ostensibly obtained from _find_tails
.
The length of the barb staff in points.
The point on the barb around which the entire barb should be rotated. If a number, the start of the barb is shifted by that many points from the origin.
Coefficients specifying the ratio of a given feature to the length of the barb. These features include:
spacing: space between features (flags, full/half barbs).
height: distance from shaft of top of a flag or full barb.
width: width of a flag, twice the width of a full barb.
emptybarb: radius of the circle used for low magnitudes.
Whether the circle representing an empty barb should be filled or not (this changes the drawing of the polygon).
Whether the features should be flipped to the other side of the barb (useful for winds in the southern hemisphere).
Polygon vertices for each of the wind barbs. These polygons have been rotated to properly align with the vector direction.
Create the wind barbs.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them