Bokeh offers a way to embed interactive plots:
https://docs.bokeh.org/en/latest/docs/user_guide/embed.html
Especially, if one uses the autoload_static
function, it is possible to export a self-contained javascript file of the results.
However, most recent versions of Bokeh have removed charts API. Instead, one now has to use Holowviews.
I want to be able to export a self-contained javascript file, just as with Bokeh's autoload_static
function, with a Holowiews graph.
Is this possible? How can one do that? The actual autoload_static
takes a Bokeh figure as input, which is different that a Holoviews figure.
Thanks
Any HoloViews object can be rendered to a bokeh figure very easily. From there you can use autoload_static as usual. Here is a simple example: