holoviews.plotting.plotly.chart module#
- class holoviews.plotting.plotly.chart.AreaPlot(element, plot=None, **params)[source]#
Bases:
AreaMixin
,ChartPlot
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, 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, ztickspadding = ClassSelector(class_=(<class 'int'>, <class 'float'>, <class 'tuple'>), default=(0, 0.1), label='Padding')
Fraction by which to increase auto-ranged extents to make datapoints more visible around borders. To compute padding, the axis whose screen size is largest is chosen, and the range of that axis is increased by the specified fraction along each axis. Other axes are then padded ensuring that the amount of screen space devoted to padding is equal for all axes. If specified as a tuple, the int or float values in the tuple will be used for padding in each axis, in order (x,y or x,y,z). For example, for padding=0.2 on a 800x800-pixel plot, an x-axis with the range [0,10] will be padded by 20% to be [-1,11], while a y-axis with a range [0,1000] will be padded to be [-100,1100], which should make the padding be approximately the same number of pixels. But if the same plot is changed to have a height of only 200, the y-range will then be [-400,1400] so that the y-axis padding will still match that of the x-axis. It is also possible to declare non-equal padding value for the lower and upper bound of an axis by supplying nested tuples, e.g. padding=(0.1, (0, 0.1)) will pad the x-axis lower and upper bound as well as the y-axis upper bound by a fraction of 0.1 while the y-axis lower bound is not padded at all.
- class holoviews.plotting.plotly.chart.BarPlot(element, plot=None, **params)[source]#
Bases:
BarsMixin
,ElementPlot
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, xaxis, yaxis, xticks, yticks, aspect, invert_zaxis, labelled, logz, margins, responsive, zlabel, zticksshow_legend = Boolean(default=True, label='Show legend')
Whether to show legend for the plot.
multi_level = Boolean(default=True, label='Multi level')
Whether the Bars should be grouped into a second categorical axis level.
stacked = Boolean(default=False, label='Stacked')
Whether the bars should be stacked or grouped.
- class holoviews.plotting.plotly.chart.ChartPlot(element, plot=None, **params)[source]#
Bases:
ElementPlot
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.chart.CurvePlot(element, plot=None, **params)[source]#
Bases:
ChartPlot
,ColorbarPlot
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, 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, zticksholoviews.plotting.plotly.element.ColorbarPlot
: clim, clim_percentile, colorbar, color_levels, colorbar_opts, symmetricpadding = ClassSelector(class_=(<class 'int'>, <class 'float'>, <class 'tuple'>), default=(0, 0.1), label='Padding')
Fraction by which to increase auto-ranged extents to make datapoints more visible around borders. To compute padding, the axis whose screen size is largest is chosen, and the range of that axis is increased by the specified fraction along each axis. Other axes are then padded ensuring that the amount of screen space devoted to padding is equal for all axes. If specified as a tuple, the int or float values in the tuple will be used for padding in each axis, in order (x,y or x,y,z). For example, for padding=0.2 on a 800x800-pixel plot, an x-axis with the range [0,10] will be padded by 20% to be [-1,11], while a y-axis with a range [0,1000] will be padded to be [-100,1100], which should make the padding be approximately the same number of pixels. But if the same plot is changed to have a height of only 200, the y-range will then be [-400,1400] so that the y-axis padding will still match that of the x-axis. It is also possible to declare non-equal padding value for the lower and upper bound of an axis by supplying nested tuples, e.g. padding=(0.1, (0, 0.1)) will pad the x-axis lower and upper bound as well as the y-axis upper bound by a fraction of 0.1 while the y-axis lower bound is not padded at all.
interpolation = Selector(default='linear', label='Interpolation', names={}, objects=['linear', 'steps-mid', 'steps-pre', 'steps-post'])
Defines how the samples of the Curve are interpolated, default is ‘linear’, other options include ‘steps-mid’, ‘steps-pre’ and ‘steps-post’.
- class holoviews.plotting.plotly.chart.ErrorBarsPlot(element, plot=None, **params)[source]#
Bases:
ChartPlot
,ColorbarPlot
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, zticksholoviews.plotting.plotly.element.ColorbarPlot
: clim, clim_percentile, colorbar, color_levels, colorbar_opts, symmetric
- class holoviews.plotting.plotly.chart.HistogramPlot(element, plot=None, **params)[source]#
Bases:
ElementPlot
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.chart.ScatterPlot(element, plot=None, **params)[source]#
Bases:
ChartPlot
,ColorbarPlot
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, zticksholoviews.plotting.plotly.element.ColorbarPlot
: clim, clim_percentile, colorbar, color_levels, colorbar_opts, symmetriccolor_index = ClassSelector(allow_None=True, class_=(<class 'str'>, <class 'int'>), label='Color index')
Index of the dimension from which the color will the drawn
- class holoviews.plotting.plotly.chart.SpreadPlot(element, plot=None, **params)[source]#
Bases:
ChartPlot
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, 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, ztickspadding = ClassSelector(class_=(<class 'int'>, <class 'float'>, <class 'tuple'>), default=(0, 0.1), label='Padding')
Fraction by which to increase auto-ranged extents to make datapoints more visible around borders. To compute padding, the axis whose screen size is largest is chosen, and the range of that axis is increased by the specified fraction along each axis. Other axes are then padded ensuring that the amount of screen space devoted to padding is equal for all axes. If specified as a tuple, the int or float values in the tuple will be used for padding in each axis, in order (x,y or x,y,z). For example, for padding=0.2 on a 800x800-pixel plot, an x-axis with the range [0,10] will be padded by 20% to be [-1,11], while a y-axis with a range [0,1000] will be padded to be [-100,1100], which should make the padding be approximately the same number of pixels. But if the same plot is changed to have a height of only 200, the y-range will then be [-400,1400] so that the y-axis padding will still match that of the x-axis. It is also possible to declare non-equal padding value for the lower and upper bound of an axis by supplying nested tuples, e.g. padding=(0.1, (0, 0.1)) will pad the x-axis lower and upper bound as well as the y-axis upper bound by a fraction of 0.1 while the y-axis lower bound is not padded at all.