geoviews.plotting.bokeh package#
Submodules#
- geoviews.plotting.bokeh.callbacks module
GeoBoundsXCallback
GeoBoundsXYCallback
GeoBoundsYCallback
GeoBoxEditCallback
GeoDoubleTapCallback
GeoFreehandDrawCallback
GeoMouseEnterCallback
GeoMouseLeaveCallback
GeoPointDrawCallback
GeoPointerXCallback
GeoPointerXYCallback
GeoPointerYCallback
GeoPolyDrawCallback
GeoPolyEditCallback
GeoRangeXCallback
GeoRangeXYCallback
GeoRangeYCallback
GeoSelectionXYCallback
GeoSingleTapCallback
GeoTapCallback
PolyVertexDrawCallback
PolyVertexEditCallback
get_cb_plot()
project_drawn()
project_point()
project_ranges()
skip()
- geoviews.plotting.bokeh.plot module
Module contents#
- class geoviews.plotting.bokeh.FeaturePlot(element, **params)[source]#
Bases:
GeoPolygonPlot
Methods
get_data
(element, ranges, style)Returns the data from an element in the appropriate format for initializing or updating a ColumnDataSource and a dictionary which maps the expected keywords arguments of a glyph to the column in the datasource.
get_extents
(element, ranges[, range_type])Subclasses the get_extents method using the GeoAxes set_extent method to project the extents to the Elements coordinate reference system.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsgeoviews.plotting.bokeh.GeoPolygonPlot
: show_framescale = Selector(default='110m', label='Scale', names={}, objects=['10m', '50m', '110m'])
The scale of the Feature in meters.
- class geoviews.plotting.bokeh.FilledContourPlot(element, **params)[source]#
Bases:
GeoPolygonPlot
Draws a filled contour plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsgeoviews.plotting.bokeh.GeoPolygonPlot
: show_framelevels = ClassSelector(class_=(<class 'list'>, <class 'int'>), default=10, label='Levels')
A list of scalar values used to specify the contour levels.
- class geoviews.plotting.bokeh.GeoContourPlot(element, **params)[source]#
Bases:
GeoPlot
,ContourPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoGraphPlot(element, **params)[source]#
-
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.graphs.GraphPlot
: tools, arrowhead_length, directed, selection_policy, inspection_policy, color_index, edge_color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoImageStackPlot(element, **params)[source]#
Bases:
GeoPlot
,ImageStackPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, colorbar, colorbar_position, colorbar_opts, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.raster.ServerHoverMixin
: selector_in_hovertoolholoviews.plotting.bokeh.raster.RasterPlot
: padding, show_legend, clipping_colors, nodataholoviews.plotting.bokeh.raster.ImageStackPlot
: cnorm, start_alpha, end_alpha, num_colorsgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoLabelsPlot(element, **params)[source]#
Bases:
GeoPlot
,LabelsPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.annotation.LabelsPlot
: show_legend, xoffset, yoffset, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoPathPlot(element, **params)[source]#
-
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.PathPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoPointPlot(element, **params)[source]#
-
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.chart.PointPlot
: jitter, selected, color_index, size_index, scaling_method, scaling_factor, size_fngeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoPolygonPlot(element, **params)[source]#
Bases:
GeoPlot
,PolygonPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoQuadMeshPlot(element, **params)[source]#
Bases:
GeoPlot
,QuadMeshPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.raster.QuadMeshPlot
: padding, show_legend, clipping_colors, nodatageoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoRGBPlot(element, **params)[source]#
-
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.raster.ServerHoverMixin
: selector_in_hovertoolholoviews.plotting.bokeh.raster.RGBPlot
: paddinggeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.GeoRasterPlot(element, **params)[source]#
Bases:
GeoPlot
,RasterPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.raster.ServerHoverMixin
: selector_in_hovertoolholoviews.plotting.bokeh.raster.RasterPlot
: padding, show_legend, nodatageoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
clipping_colors = Dict(class_=<class 'dict'>, default={'NaN': (0, 0, 0, 0)}, label='Clipping colors')
Dictionary to specify colors for clipped values, allows setting color for NaN values and for values above and below the min and max value. The min, max or NaN color may specify an RGB(A) color as a color hex string of the form #FFFFFF or #FFFFFFFF or a length 3 or length 4 tuple specifying values in the range 0-1 or a named HTML color.
- class geoviews.plotting.bokeh.GeoRectanglesPlot(element, **params)[source]#
Bases:
GeoPlot
,RectanglesPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.geometry.RectanglesPlot
: selectedgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoSegmentsPlot(element, **params)[source]#
Bases:
GeoPlot
,SegmentPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.geometry.SegmentPlot
: selectedgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoShapePlot(element, **params)[source]#
Bases:
GeoPolygonPlot
Methods
get_data
(element, ranges, style)Returns the data from an element in the appropriate format for initializing or updating a ColumnDataSource and a dictionary which maps the expected keywords arguments of a glyph to the column in the datasource.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsgeoviews.plotting.bokeh.GeoPolygonPlot
: show_frame
- class geoviews.plotting.bokeh.GeoTextPlot(element, **params)[source]#
-
Methods
get_data
(element, ranges, style)Returns the data from an element in the appropriate format for initializing or updating a ColumnDataSource and a dictionary which maps the expected keywords arguments of a glyph to the column in the datasource.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformattergeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoTriMeshPlot(element, **params)[source]#
Bases:
GeoPlot
,TriMeshPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.graphs.GraphPlot
: tools, arrowhead_length, directed, selection_policy, inspection_policy, color_index, edge_color_indexholoviews.plotting.bokeh.graphs.TriMeshPlot
: filledgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.GeoVectorFieldPlot(element, **params)[source]#
Bases:
GeoPlot
,VectorFieldPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.chart.VectorFieldPlot
: padding, arrow_heads, magnitude, pivot, rescale_lengths, color_index, size_index, normalize_lengthsgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.bokeh.LineContourPlot(element, **params)[source]#
Bases:
GeoContourPlot
Draws a contour plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformatterholoviews.plotting.bokeh.element.ColorbarPlot
: color_levels, cformatter, clabel, clim, clim_percentile, cnorm, colorbar, colorbar_position, colorbar_opts, clipping_colors, cticks, logz, rescale_discrete_levels, symmetricholoviews.plotting.bokeh.element.LegendPlot
: legend_cols, legend_labels, legend_muted, legend_offset, legend_position, legend_optsholoviews.plotting.bokeh.path.ContourPlot
: show_legend, selected, color_indexgeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_boundsgeoviews.plotting.bokeh.GeoContourPlot
: show_framelevels = ClassSelector(class_=(<class 'list'>, <class 'int'>), default=10, label='Levels')
A list of scalar values used to specify the contour levels.
- class geoviews.plotting.bokeh.TilePlot(element, **params)[source]#
Bases:
GeoPlot
Methods
get_data
(element, ranges, style)Returns the data from an element in the appropriate format for initializing or updating a ColumnDataSource and a dictionary which maps the expected keywords arguments of a glyph to the column in the datasource.
get_extents
(element, ranges[, range_type])Subclasses the get_extents method using the GeoAxes set_extent method to project the extents to the Elements coordinate reference system.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, normalizeholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.bokeh.plot.BokehPlot
: title, shared_datasource, title_format, autohide_toolbarholoviews.plotting.bokeh.element.ElementPlot
: fontsize, xticks, yticks, toolbar, width, height, active_tools, align, apply_hard_bounds, autorange, border, aspect, backend_opts, data_aspect, frame_width, frame_height, min_width, min_height, max_width, max_height, margin, multi_y, scalebar, scalebar_range, scalebar_unit, scalebar_location, scalebar_label, scalebar_tool, scalebar_opts, subcoordinate_y, subcoordinate_scale, responsive, gridstyle, labelled, lod, show_frame, shared_axes, tools, hover_tooltips, hover_formatters, hover_mode, xformatter, yformattergeoviews.plotting.bokeh.plot.GeoPlot
: projection, show_grid, default_tools, infer_projection, fixed_bounds, global_extent, show_bounds
- class geoviews.plotting.bokeh.geo_hex_binning(*, aggregator, gridsize, invert_axes, min_count, orientation, projection, dynamic, group, input_ranges, link_inputs, streams, name)[source]#
Bases:
hex_binning
,project_points
Applies hex binning by computing aggregates on a hexagonal grid.
Should not be user facing as the returned element is not directly usable.
Parameter Definitions
Parameters inherited from:
holoviews.core.operation.Operation
: group, dynamic, input_ranges, link_inputs, streamsgeoviews.operation.projection._project_operation
: projectionholoviews.plotting.bokeh.hex_tiles.hex_binning
: aggregator, gridsize, invert_axes, min_count, orientation