Hv.save ... notebook?

Whatever hv.save(object, "page.html") does to make the result stand alone, is there a way to have that effect on all hv objects in an entire notebook? In the same way nbconvert will process all the markdown and output cells into a standalone HTML, is there a tool that splices the “normal” nbconvert HTML output with the results of executing hv.save on hv objects?

Less specifically, I guess, what’s a good approach to producing standalone html (when no kernel is required) from an entire notebook?

Hi @itcarroll

For some use cases nbconvert would still work I believe (have not tried it though).

You can also wrap your Holoviews into Layouts https://holoviews.org/reference/containers/bokeh/Layout.html and/ or build composite objects https://holoviews.org/user_guide/Building_Composite_Objects.html and save them.

You can also wrap the things you need into a small Panel app and embed or save it. See the bottom of this guide https://panel.holoviz.org/user_guide/Deploy_and_Export.html.

Thanks @Marc. Good tips, but not the hoped for process combining Markdown cells and figures w/ widgets, like you get from like RShiny interactive documents.

1 Like

Could you provide a link to the R shiny process you where expecting?

I hope @philippjfr will take a look at this question. Maybe there is a positive answer.


That goes the whole way to launching an app. It would be like if panel serve combined all the cells of the notebook with the servable panels. I’d be more interested in a happy medium that combined all the cells of the notebook while (not exactly) wrapping the holoviews outputs with hv.save.