Benj Cabalona Jr.
Benj Cabalona Jr.

Reputation: 439

How to convert interactive Jupyter notebook with nbconvert to html

I tried converting my notebook to nbinteract but the altair charts are not rendering. I also tried using nbconvert, the chars are working but the widgets are not.

jupyter nbconvert --to html --template nbconvert_template_altair.tpl --execute  Analysis.ipynb

Upvotes: 1

Views: 1815

Answers (1)

jakevdp
jakevdp

Reputation: 86300

You can do this using an nbconvert template like the one shown here: https://github.com/altair-viz/altair/issues/329#issuecomment-473524751

Upvotes: 1

Related Questions