geoviews.plotting.mpl package#
Submodules#
Module contents#
- class geoviews.plotting.mpl.FeaturePlot(element, **params)[source]#
Bases:
GeoPlot
Draws a feature from a Features Element.
Methods
init_artists
(ax, plot_args, plot_kwargs)Initializes the artist based on the plot method declared on the plot.
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extentscale = Selector(default='110m', label='Scale', names={}, objects=['10m', '50m', '110m'])
The scale of the Feature in meters.
- class geoviews.plotting.mpl.FilledContourPlot(element, **params)[source]#
Bases:
GeoPolygonPlot
Draws a filled contour plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexholoviews.plotting.mpl.path.PolygonPlot
: show_legendgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentgeoviews.plotting.mpl.GeoPolygonPlot
: show_frame, apply_rangeslevels = ClassSelector(class_=(<class 'list'>, <class 'int'>), default=10, label='Levels')
A list of scalar values used to specify the contour levels.
- class geoviews.plotting.mpl.GeoAnnotationPlot(annotation, **params)[source]#
Bases:
AnnotationPlot
AnnotationPlot handles the display of all annotation elements.
Methods
initialize_plot
([ranges])Initialize the matplotlib figure.
update_handles
(key, axis, annotation, ...)Update the elements of the plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.annotation.AnnotationPlot
: show_legend
- class geoviews.plotting.mpl.GeoContourPlot(element, **params)[source]#
Bases:
GeoPlot
,ContourPlot
Draws a contour plot from a Contours Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: show_legend, aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
apply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoGraphPlot(element, **params)[source]#
-
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.graphs.GraphPlot
: arrowhead_length, directed, color_index, edge_color_indexgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoHexTilesPlot(element, **params)[source]#
Bases:
GeoPlot
,HexTilesPlot
Draws a scatter plot from the data in a Points Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.hex_tiles.HexTilesPlot
: aggregator, gridsize, max_scale, min_countgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoImagePlot(element, **params)[source]#
Bases:
GeoPlot
,RasterPlot
Draws a pcolormesh plot from the data in a Image Element.
Methods
init_artists
(ax, plot_args, plot_kwargs)Initializes the artist based on the plot method declared on the plot.
update_handles
(*args)Update the elements of the plot.
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.raster.RasterBasePlot
: padding, show_legend, aspect, nodata, situate_axesholoviews.plotting.mpl.raster.RasterPlot
: clipping_colorsgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.mpl.GeoLabelsPlot(element, **params)[source]#
Bases:
GeoPlot
,LabelsPlot
Draws a scatter plot from the data in a Labels Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.annotation.LabelsPlot
: color_index, xoffset, yoffsetgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoOverlayPlot(element, **params)[source]#
Bases:
ProjectionPlot
,OverlayPlot
Extends HoloViews OverlayPlot with functionality to determine the correct projection for each axis.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.plot.GenericOverlayPlot
: batched, legend_limit, style_groupingholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.LegendPlot
: show_legend, legend_cols, legend_labels, legend_position, legend_optsgeoviews.plotting.plot.ProjectionPlot
: infer_projectionglobal_extent = Boolean(default=False, label='Global extent')
Set the extent of the Axes to the limits of the projection.
- class geoviews.plotting.mpl.GeoPathPlot(element, **params)[source]#
-
Draws a Path plot from a Path Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: show_legend, aspect, color_indexgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
apply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoPlot(element, **params)[source]#
Bases:
ProjectionPlot
,ElementPlot
Plotting baseclass for geographic plots with a cartopy projection.
Methods
Delete artist handle so it can be redrawn.
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksgeoviews.plotting.plot.ProjectionPlot
: infer_projectionprojection = Parameter(default=<Projected CRS: +proj=eqc +ellps=WGS84 +a=6378137.0 +lon_0=0.0 +to ...> Name: unknown Axis Info [cartesian]: - E[east]: Easting (unknown) - N[north]: Northing (unknown) - h[up]: Ellipsoidal height (metre) Area of Use: - undefined Coordinate Operation: - name: unknown - method: Equidistant Cylindrical Datum: Unknown based on WGS 84 ellipsoid - Ellipsoid: WGS 84 - Prime Meridian: Greenwich , label='Projection')
The projection of the plot axis, default of None is equivalent to 2D plot, ‘3d’ and ‘polar’ are also supported by matplotlib by default. May also supply a custom projection that is either a matplotlib projection type or implements the _as_mpl_axes method.
apply_ranges = Boolean(default=False, label='Apply ranges')
Do not use ranges to compute plot extents by default.
global_extent = Boolean(default=False, label='Global extent')
Whether the plot should display the whole globe.
- class geoviews.plotting.mpl.GeoPointPlot(element, **params)[source]#
-
Draws a scatter plot from the data in a Points Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.LegendPlot
: show_legend, legend_cols, legend_labels, legend_position, legend_optsholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.chart.PointPlot
: show_grid, color_index, size_index, scaling_method, scaling_factor, size_fngeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoPolygonPlot(element, **params)[source]#
Bases:
GeoPlot
,PolygonPlot
Draws a scatter plot from the data in a Points Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexholoviews.plotting.mpl.path.PolygonPlot
: show_legendgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
apply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoQuadMeshPlot(element, **params)[source]#
Bases:
GeoPlot
,QuadMeshPlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.raster.QuadMeshPlot
: padding, show_legend, clipping_colors, nodatageoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
- class geoviews.plotting.mpl.GeoRGBPlot(element, **params)[source]#
Bases:
GeoImagePlot
Draws a imshow plot from the data in a RGB Element.
Methods
init_artists
(ax, plot_args, plot_kwargs)Initializes the artist based on the plot method declared on the plot.
update_handles
(*args)Update the elements of the plot.
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.raster.RasterBasePlot
: padding, show_legend, aspect, nodata, situate_axesholoviews.plotting.mpl.raster.RasterPlot
: clipping_colorsgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extentgeoviews.plotting.mpl.GeoImagePlot
: show_frame
- class geoviews.plotting.mpl.GeoRectanglesPlot(element, **params)[source]#
Bases:
GeoPlot
,RectanglesPlot
Draws rectangles from the data in a Rectangles Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoSegmentPlot(element, **params)[source]#
Bases:
GeoPlot
,SegmentPlot
Draws segments from the data in a the Segments Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoShapePlot(element, **params)[source]#
Bases:
GeometryPlot
,PolygonPlot
Draws a scatter plot from the data in a Points Element.
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexholoviews.plotting.mpl.path.PolygonPlot
: show_legendgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
apply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoTextPlot(annotation, **params)[source]#
Bases:
GeoAnnotationPlot
,TextPlot
Draw the Text annotation object
Methods
draw_annotation
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.annotation.AnnotationPlot
: show_legend
- class geoviews.plotting.mpl.GeoTriMeshPlot(element, **params)[source]#
Bases:
GeoPlot
,TriMeshPlot
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.graphs.GraphPlot
: arrowhead_length, directed, color_index, edge_color_indexholoviews.plotting.mpl.graphs.TriMeshPlot
: filledgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoVectorFieldPlot(element, **params)[source]#
Bases:
GeoPlot
,VectorFieldPlot
Draws a vector field plot from the data in a VectorField Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.chart.VectorFieldPlot
: padding, arrow_heads, magnitude, rescale_lengths, color_index, size_index, normalize_lengthsgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentshow_frame = Boolean(default=True, label='Show frame')
Whether or not to show a complete frame around the plot.
apply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeoWindBarbsPlot(element, **params)[source]#
Bases:
GeoPlot
,WindBarbsPlot
Draws a wind barbs plot from the data in a WindBarbs Element.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricgeoviews.plotting.mpl.chart.WindBarbsPlot
: padding, conventiongeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentapply_ranges = Boolean(default=True, label='Apply ranges')
Do not use ranges to compute plot extents by default.
- class geoviews.plotting.mpl.GeometryPlot(element, **params)[source]#
Bases:
GeoPlot
Methods
init_artists
(ax, plot_args, plot_kwargs)Initializes the artist based on the plot method declared on the plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extent
- class geoviews.plotting.mpl.LayoutPlot(layout, keys=None, **params)[source]#
Bases:
ProjectionPlot
,LayoutPlot
Extends HoloViews LayoutPlot with functionality to determine the correct projection for each axis.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: projection, backend_opts, fig_alpha, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.mpl.plot.CompositePlot
: shared_axesholoviews.plotting.plot.GenericLayoutPlot
: transposeholoviews.plotting.mpl.plot.LayoutPlot
: fontsize, fig_bounds, absolute_scaling, aspect_weight, tight, tight_padding, hspacegeoviews.plotting.plot.ProjectionPlot
: infer_projectionvspace = Number(default=0.3, inclusive_bounds=(True, True), label='Vspace')
Specifies the space between vertically adjacent elements in the grid. Default value is set conservatively to avoid overlap of subplots.
- class geoviews.plotting.mpl.LineContourPlot(element, **params)[source]#
Bases:
GeoContourPlot
Draws a contour plot.
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skipholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksholoviews.plotting.mpl.element.ColorbarPlot
: clabel, clim, clim_percentile, cformatter, colorbar, colorbar_opts, color_levels, cnorm, clipping_colors, cbar_padding, cbar_ticks, cbar_width, cbar_extend, rescale_discrete_levels, symmetricholoviews.plotting.mpl.path.PathPlot
: show_legend, aspectholoviews.plotting.mpl.path.ContourPlot
: color_indexgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, global_extentgeoviews.plotting.mpl.GeoContourPlot
: show_frame, apply_rangeslevels = ClassSelector(class_=(<class 'list'>, <class 'int'>), default=10, label='Levels')
A list of scalar values used to specify the contour levels.
- class geoviews.plotting.mpl.WMTSPlot(element, **params)[source]#
Bases:
GeoPlot
Adds a Web Map Tile Service from a WMTS Element.
Methods
init_artists
(ax, plot_args, plot_kwargs)Initializes the artist based on the plot method declared on the plot.
If no custom update_handles method is supplied this method is called to tear down any previous handles before replacing them.
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalizeholoviews.plotting.mpl.plot.MPLPlot
: backend_opts, fig_alpha, fig_bounds, fig_inches, fig_latex, fig_rcparams, fig_size, initial_hooks, sublabel_format, sublabel_offset, sublabel_position, sublabel_size, sublabel_skip, show_frameholoviews.plotting.plot.GenericElementPlot
: apply_extents, bgcolor, default_span, hooks, invert_axes, invert_xaxis, invert_yaxis, logx, logy, padding, show_legend, show_grid, xaxis, yaxis, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation, xticks, yticksholoviews.plotting.mpl.element.ElementPlot
: apply_ticks, aspect, data_aspect, invert_zaxis, labelled, logz, xformatter, yformatter, zformatter, zaxis, zlabel, zrotation, zticksgeoviews.plotting.plot.ProjectionPlot
: infer_projectiongeoviews.plotting.mpl.GeoPlot
: projection, apply_ranges, global_extentzoom = Integer(default=3, inclusive_bounds=(True, True), label='Zoom')
Controls the zoom level of the tile source.