Skip to main content
Make reactive plots with Plotly.

Usage

Or with custom configuration:

Signature

Parameters

plotly.graph_objects.Figure
required
A plotly Figure object.
Optional[Dict[str, Any]]
default:"None"
Configuration for the plot. This is a dictionary that is passed directly to plotly. See the plotly documentation for more information. This takes precedence over the default configuration of the renderer.
Optional[str]
default:"None"
Renderer to use for the plot. If this is not provided, the default renderer (pio.renderers.default) is used.
str
default:""
Markdown label for the element.
Optional[Callable[[JSONType], None]]
default:"None"
Callback to run when this element’s value changes.

Attributes

Dict[str, Any]
A dict of the plot data.
Dict[str, List[float]]
The selection of the plot; this may be an interval along the name of an axis.
List[Dict[str, Any]]
The selected points data.
List[int]
The indices of selected points.

Supported Chart Types

This function supports:
  • Scatter plots
  • Scattergl plots
  • Line charts
  • Area charts
  • Bar charts
  • Treemap charts
  • Sunburst charts
  • Heatmaps