geoviews.models package#
Submodules#
- geoviews.models.custom_tools module
- geoviews.models.wind_barb module
WindBarbWindBarb.angleWindBarb.angle_unitsWindBarb.barb_lengthWindBarb.barb_widthWindBarb.calm_circle_radiusWindBarb.flag_widthWindBarb.line_alphaWindBarb.line_capWindBarb.line_colorWindBarb.line_dashWindBarb.line_dash_offsetWindBarb.line_joinWindBarb.line_widthWindBarb.magnitudeWindBarb.scaleWindBarb.spacingWindBarb.xWindBarb.y
Module contents#
- class geoviews.models.CheckpointTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
_BokehCheck,ToolCheckpoints the data on the supplied ColumnDataSources, allowing the RestoreTool to restore the data to a previous state.
- Attributes:
- sources
- class geoviews.models.ClearTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
_BokehCheck,ToolClears the data on the supplied ColumnDataSources.
- Attributes:
- sources
- class geoviews.models.PolyVertexDrawTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
_BokehCheck,PolyDrawTool- Attributes:
- end_style
Custom styling to apply to the start and nodes of a patch or line glyph.
- node_style
Custom styling to apply to the intermediate nodes of a patch or line glyph.
- end_style#
Custom styling to apply to the start and nodes of a patch or line glyph.
- node_style#
Custom styling to apply to the intermediate nodes of a patch or line glyph.
- class geoviews.models.PolyVertexEditTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
_BokehCheck,PolyEditTool- Attributes:
- end_style
Custom styling to apply to the start and nodes of a patch or line glyph.
- node_style
Custom styling to apply to the intermediate nodes of a patch or line glyph.
- end_style#
Custom styling to apply to the start and nodes of a patch or line glyph.
- node_style#
Custom styling to apply to the intermediate nodes of a patch or line glyph.
- class geoviews.models.RestoreTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
Bases:
_BokehCheck,ToolRestores the data on the supplied ColumnDataSources to a previous checkpoint created by the CheckpointTool
- Attributes:
- sources
- class geoviews.models.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.