Folium地图未显示在github上传的jupyter笔记本上
当从anaconda提示符下启动jupyter时,通过增加数据限制,我已经成功地在jupyter笔记本上绘制了叶片图:
I have successfully rendered folium maps on my jupyter notebook by increasing the data limit when launching jupyter from anaconda prompt like this:
"jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10"
但是,当我将笔记本上载到Github而不是我处理过的地图时,我得到了一个空白窗口.
However, when I have uploaded the notebook to Github, rather than the map I had processed, I got a blank window.
如何渲染这些地图?通过github启动笔记本时,是否可以增加笔记本上的data_rate_limit?
How can I render these maps? Is it possible to increase the data_rate_limit on the notebook when it is being launched through github?
如果Folium映射中有任何Javascript,它将不会在GitHub上呈现.出于安全原因,GitHub在渲染笔记本时不会执行任何JavaScript.
If there's any Javascript in Folium maps, it will not render on GitHub. For security reasons, GitHub does not execute any javascript while rendering notebooks.
来自GitHub 文档,
笔记本的交互功能,例如自定义JavaScript 地块,将无法在GitHub上的存储库中工作
The interactive features of the notebook, such as custom JavaScript plots, will not work in your repository on GitHub