python - 如何使用 nbconvert 将交互式 Jupyter 笔记本转换为 html

标签 python jupyter-notebook data-analysis altair nbconvert

我尝试将笔记本转换为 nbinteract,但 Altair 图表未呈现。我还尝试使用 nbconvert,字符可以工作,但小部件却不能。

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

最佳答案

您可以使用 nbconvert 模板来执行此操作,如下所示:https://github.com/altair-viz/altair/issues/329#issuecomment-473524751

关于python - 如何使用 nbconvert 将交互式 Jupyter 笔记本转换为 html,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58211603/

相关文章:

python - 从 Protocol Buffer 获取所有字段名称?

python - 如何在 Kubuntu 14.04 上为 Python 3 安装 PyWavelets?

python - 如何在具有各种数据类型的列表中搜索字符串,如果它们存在则对它们执行操作?

python - 使用scrapy时如何绕过 'cookiewall'?

python-3.x - tensorflow 估计器 API :How to get weights of each node of a trained model using estimator api of tensorflow

python - 使用来自另一个笔记本的动态名称/字符串运行 jupyter notebook

具有季节性的 Excel 时间序列预测

r - 如何在具有 R 内核的 Jupyter 笔记本中查看数据帧的所有行?

machine-learning - 在无监督学习中是否可以将数据与分组的数据行进行聚类?

mysql - 按到达某个点的旅行时间标记数据