holoviews.plotting.plotly.shapes module#
- class holoviews.plotting.plotly.shapes.BoxShapePlot(element, plot=None, **params)[source]#
Bases:
GeomMixin
,ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticks
- class holoviews.plotting.plotly.shapes.HVLinePlot(element, plot=None, **params)[source]#
Bases:
ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticksapply_ranges = Boolean(default=False, label='Apply ranges')
Whether to include the annotation in axis range calculations.
- class holoviews.plotting.plotly.shapes.HVSpanPlot(element, plot=None, **params)[source]#
Bases:
ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticksapply_ranges = Boolean(default=False, label='Apply ranges')
Whether to include the annotation in axis range calculations.
- class holoviews.plotting.plotly.shapes.PathShapePlot(element, plot=None, **params)[source]#
Bases:
ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticks
- class holoviews.plotting.plotly.shapes.PathsPlot(element, plot=None, **params)[source]#
Bases:
ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticks
- class holoviews.plotting.plotly.shapes.SegmentShapePlot(element, plot=None, **params)[source]#
Bases:
GeomMixin
,ShapePlot
Methods
get_data
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticks
- class holoviews.plotting.plotly.shapes.ShapePlot(element, plot=None, **params)[source]#
Bases:
ElementPlot
Methods
init_graph
(datum, options[, index, is_geo])Initialize the plotly components that will represent the element
build_path
Parameter Definitions
Parameters inherited from:
holoviews.plotting.plot.DimensionedPlot
: fontsize, fontscale, show_title, title, normalize, projectionholoviews.plotting.plot.GenericElementPlot
: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotationholoviews.plotting.plotly.plot.PlotlyPlot
: width, heightholoviews.plotting.plotly.element.ElementPlot
: bgcolor, invert_axes, invert_xaxis, invert_yaxis, logx, logy, show_legend, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticks- init_graph(datum, options, index=0, is_geo=False, **kwargs)[source]#
Initialize the plotly components that will represent the element
- Parameters:
- Returns:
dict
- Dictionary of the plotly components that represent the element. Keys may include:
‘traces’: List of trace dicts
‘annotations’: List of annotations dicts
‘images’: List of image dicts
‘shapes’: List of shape dicts