python

❖ 「JupyterLab」 Jupyter Notebook

2019-01-23  本文已影响9人  Solomon_Xie

参考:Overview

imageimage

安装:

$ pip install jupyterlab

启动(不是jupyter notebook):

$ jupyter lab

Jupyterlab中最好用的就是显示csv数据。

CSV数据显示效果:

imageimage

安装插件

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:


imageimage
上一篇 下一篇

猜你喜欢

热点阅读