panel.models.vega module
Defines custom VegaPlot bokeh model to render Vega json plots.
-
class panel.models.vega.VegaEvent(model, data=None)[source]
Bases: ModelEvent
-
class panel.models.vega.VegaPlot(*args: Any, id: ID | None = None, **kwargs: Any)[source]
Bases: LayoutDOM
A Bokeh model that wraps around a Vega plot and renders it inside
a Bokeh plot.
- Attributes:
- data
- data_sources
- events
- show_actions
- theme
- throttle