gpt4 book ai didi

javascript - 为什么jupyter notebook中的kepler map无法在nbviewer上渲染

转载 作者:行者123 更新时间:2023-11-30 06:12:50 34 4
gpt4 key购买 nike

我想弄清楚为什么我的 map 无法在 nbviewer 上呈现

例如https://nbviewer.jupyter.org/github/zyxue/scratch/blob/master/display-kepler.ipynb?flush_cache=true

我对比了nbviewer(左)和jupyter notebook环境(右)的网络事件,还是不明白为什么

enter image description here

引用:https://github.com/keplergl/kepler.gl/blob/master/docs/keplergl-jupyter/user-guide.md

最佳答案

是因为nbviewer无法渲染动态js或css。 github也是一样。
您可以访问issues并查看动态支持的跟踪评论。在撰写此答案时,此问题尚未解决。

如果你想显示动态图,那么你可以保存笔记本小部件状态(如图),然后将其保存为ma​​rkdown。然后你可以在github中渲染它。这是另一个例子 uncertainty quantification .

enter image description here

关于javascript - 为什么jupyter notebook中的kepler map无法在nbviewer上渲染,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57895372/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com