3 ms·
From the docs, under "Getting started": > When you execute this script, you will see that a new output file "lines.html" is created, and that a browser automat
by mfisher87 11y ago
From the docs, under "Getting started":
> When you execute this script, you will see that a new output file "lines.html" is created, and that a browser automatically opens a new tab to display it. (For presentation purposes we have included the plot output directly inline in this document.)
This is based on an example calling an output_file() function, but the docs also mention output_notebook(), and I'm sure you can output to HTML as a string as well. I didn't spend too much time digging yet.
- canavandl 11y agoYes - there's the ability to generate the raw html of a plot or a JS script and div that can be embedded in an HTML doc. Source: http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html