geoviews.models.custom_tools module#

class geoviews.models.custom_tools.CheckpointTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: _BokehCheck, Tool

Checkpoints the data on the supplied ColumnDataSources, allowing the RestoreTool to restore the data to a previous state.

Attributes:
sources
class geoviews.models.custom_tools.ClearTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: _BokehCheck, Tool

Clears the data on the supplied ColumnDataSources.

Attributes:
sources
class geoviews.models.custom_tools.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.custom_tools.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.custom_tools.RestoreTool(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: _BokehCheck, Tool

Restores the data on the supplied ColumnDataSources to a previous checkpoint created by the CheckpointTool

Attributes:
sources