geoviews.models.wind_barb module#
WindBarb glyph for rendering wind barbs in Bokeh.
- class geoviews.models.wind_barb.WindBarb(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
XYGlyphA glyph for rendering wind barbs at (x, y) locations.
Wind barbs are traditionally used in meteorology to plot wind speed and direction. The barb consists of a staff with flags and barbs representing wind speed increments.
- Attributes:
- angle
The angles to rotate the wind barbs, in radians.
- angle_units
Units to use for the associated property: deg, rad, grad or turn
- barb_length
Length of the main barb staff.
- barb_width
Width of the barb lines.
- calm_circle_radius
Radius of the circle drawn for calm winds (< 5 knots).
- flag_width
Width of the 50-knot flag triangles.
- line_alpha
The line alpha values for the wind barbs.
- line_cap
The line cap values for the wind barbs.
- line_color
The line color values for the wind barbs.
- line_dash
The line dash values for the wind barbs.
- line_dash_offset
The line dash offset values for the wind barbs.
- line_join
The line join values for the wind barbs.
- line_width
The line width values for the wind barbs.
- magnitude
The magnitudes (wind speeds) for the wind barbs.
- scale
A scaling factor to apply to the wind barb size.
- spacing
Vertical spacing between barbs and flags.
- x
The x-coordinates of the wind barbs.
- y
The y-coordinates of the wind barbs.
- angle#
The angles to rotate the wind barbs, in radians.
- angle_units#
Units to use for the associated property: deg, rad, grad or turn
- barb_length#
Length of the main barb staff.
- barb_width#
Width of the barb lines.
- calm_circle_radius#
Radius of the circle drawn for calm winds (< 5 knots).
- flag_width#
Width of the 50-knot flag triangles.
- line_alpha#
The line alpha values for the wind barbs.
- line_cap#
The line cap values for the wind barbs.
- line_color#
The line color values for the wind barbs.
- line_dash#
The line dash values for the wind barbs.
- line_dash_offset#
The line dash offset values for the wind barbs.
- line_join#
The line join values for the wind barbs.
- line_width#
The line width values for the wind barbs.
- magnitude#
The magnitudes (wind speeds) for the wind barbs.
- scale#
A scaling factor to apply to the wind barb size.
- spacing#
Vertical spacing between barbs and flags.
- x#
The x-coordinates of the wind barbs.
- y#
The y-coordinates of the wind barbs.