Skip to main content
The Plot component displays plots from matplotlib, plotly, altair, or bokeh.

Basic usage

Constructor

Any | None
default:"None"
Default plot object (matplotlib, plotly, altair, or bokeh figure)
str
default:"'webp'"
File format for matplotlib plots (e.g., “png”, “jpg”)
str | None
default:"None"
Label displayed above component

Events

  • change - Triggered when plot changes

Examples

Matplotlib

Plotly