Bokeh#
This component is also available in the classic reference.
The Bokeh pane allows displaying any displayable Bokeh model inside a Panel app.
Use pn.ui.Bokeh to create this component.
API#
.. py:class:: Bokeh(object=None, **params) :module: panel.pane.plot
The Bokeh pane allows displaying any displayable Bokeh model inside a Panel app.
Reference: https://panel.holoviz.org/reference/panes/Bokeh.html
:Example:
Bokeh(some_bokeh_figure)
:Attributes:
**theme**
..
.. rubric:: Methods
.. autosummary::
applies
.. !! processed by numpydoc !!
Parameter Definitions
Parameters inherited from:
:class:`panel.viewable.Layoutable`: align, aspect_ratio, css_classes, design, height, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width, width_policy, height_policy, sizing_mode, visible
:class:`panel.viewable.Viewable`: loading
:class:`panel.pane.base.PaneBase`: margin, default_layout, object
autodispatch = Boolean(default=True, label='Autodispatch')
Whether to automatically dispatch events inside bokeh on_change
and on_event callbacks in the notebook.
theme = ClassSelector(allow_None=True, class_=(<class 'bokeh.themes.theme.Theme'>, <class 'str'>), label='Theme')
Bokeh theme to apply to the plot.
.. py:method:: Bokeh.applies(object: ~typing.Any) -> float | bool | None :module: panel.pane.plot :classmethod:
Returns boolean or float indicating whether the Pane
can render the object.
If the priority of the pane is set to
`None`, this method may also be used to define a float priority
depending on the object being rendered.
..
!! processed by numpydoc !!