[英]How to convert interactive Jupyter notebook with nbconvert to html
I tried converting my notebook to nbinteract but the altair charts are not rendering.我尝试将我的笔记本转换为 nbinteract,但 altair 图表未呈现。 I also tried using nbconvert, the chars are working but the widgets are not.我也尝试使用 nbconvert,字符正在工作,但小部件没有。
jupyter nbconvert --to html --template nbconvert_template_altair.tpl --execute Analysis.ipynb
You can do this using an nbconvert template like the one shown here: https://github.com/altair-viz/altair/issues/329#issuecomment-473524751您可以使用如下所示的 nbconvert 模板执行此操作: https://github.com/altair-viz/altair/issues/329#issuecomment-473524751
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.