Closed astrobc1 closed 2 years ago
Oh I forgot to say you need to pass the argument bundle=Bokeh.bundle()
, which tells it what JavaScript to load.
These are not API functions, so might change in the future. I need to think about adding an API for saving plots.
That does the trick, thanks!
Exporting a figure to HTML doesn't seem to include the bokeh.js link. Maybe Im' using the exporting functions incorrectly? Steps to reproduce:
Opening the generated myfig.html in the browser results in an empty window because it cannot find Bokeh.
One can fix this by manually injecting the line:
into the head of the
dochtml
variable.