Bokeh Components

../../../../_images/html_components.svg

Export HTML components for embedding a Bokeh Figure in a custom HTML template.

Documentation

To embed the figure in an html template you can use the node Jinja2 template. See the example flow “Custom bokeh template.syx” for an example of this.

Definition

Input ports

figure bokeh

Bokeh figure

Output ports

components {text}

Bokeh figure components

Configuration

Use CDN (use_cdn)

If unchecked, the “bokeh_js” component of the output will be the entire BokehJS front-end script. If checked, the “bokeh_js” component will instead contain a reference to the same script online.

Examples

Implementation

class node_bokeh_figure.BokehComponents[source]