【文件属性】:
文件名称:ipyleaflet:Jupyter-Leaflet.js桥
文件大小:32.76MB
文件格式:ZIP
更新时间:2021-04-12 18:51:00
visualization jupyter leaflet jupyterlab-extension Python
py叶
一个Jupyter / Leaflet桥,可在Jupyter笔记本中启用交互式地图。
用法
为传单地图选择底图:
加载geojson地图:
利用leaflet.js原语:
使用splitmap控件:
在地图顶部显示速度数据:
choropleth层:
小部件控制
安装
使用conda:
conda install -c conda-forge ipyleaflet
使用点子:
pip install ipyleaflet
如果您使用的是传统的Jupyter Notebook <5.3,则需要运行以下额外命令:
jupyter nbextension enable --py --sys-prefix ipyleaflet
如果您使用的是JupyterLab <= 2,则需要安装JupyterLab扩展:
jupyter labextension install @