❖ 「JupyterLab」 Jupyter Notebook
2019-01-23 本文已影响9人
Solomon_Xie
![image](https://user-images.githubusercontent.com/14041622/47287425-be9e1d00-d624-11e8-9519-1aed2739c6a7.png)
安装:
$ pip install jupyterlab
启动(不是jupyter notebook):
$ jupyter lab
Jupyterlab中最好用的就是显示csv数据。
CSV数据显示效果:
![image](https://user-images.githubusercontent.com/14041622/47287487-f6a56000-d624-11e8-8731-a1a4e2045e48.png)
安装插件
jupyterlab
是和jupyter notebook
隔离的,也就是notebook
中的插件在这里不能用。
Jupyterlab的插件都是基于NodeJS安装的,但同时所有npm的包也会自动保存到当前的python环境中(或虚拟环境)。
安装命令格式是:
# 安装NPM包
$ jupyter labextension install <NAME>
常用插件安装:
# 目录结构显示
jupyter labextension install @jupyterlab/toc
# Voyager 数据优化浏览
jupyter labextension install jupyterlab_voyager
# Drawio 画流程图
jupyter labextension install jupyterlab-drawio
# Lantern数据绘图加强
jupyter labextension install pylantern
jupyter serverextension enable --py lantern
优选插件效果如下:
jupyterlab_voyager:
![image](https://user-images.githubusercontent.com/14041622/47288097-2e150c00-d627-11e8-8c09-cf4f098938d2.png)