holoviews.plotting.plotly.images module#

class holoviews.plotting.plotly.images.RGBPlot(element, plot=None, **params)[source]#

Bases: ElementPlot

Parameter Definitions


Parameters inherited from:

holoviews.plotting.plot.DimensionedPlot: fontsize, fontscale, show_title, title, normalize, projection

holoviews.plotting.plot.GenericElementPlot: apply_ranges, apply_extents, default_span, hooks, padding, show_grid, xlabel, ylabel, xlim, ylim, zlim, xrotation, yrotation

holoviews.plotting.plotly.plot.PlotlyPlot: width, height

holoviews.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#

datumdict

An element of the data list returned by the get_data method

optionsdict

Graph options that were returned by the graph_options method

indexint

Index of datum in the original list returned by the get_data method

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