Jupyter Lab中的插件

官方介绍

准备工作

安装插件前,首先安装nodejs,可通过以下语句进行安装:

conda install -c conda-forge nodejs

安装插件

可以通过以下语句,安装多个插件:

jupyter labextension install my-extension my-other-extension

安装指定版本的插件:

jupyter labextension install my-extension@1.2.3

卸载插件

jupyter labextension uninstall my-extension my-other-extension
jupyter lab build

查看已装插件

jupyter labextension list

常用插件介绍

jupyterlab-toc

jupyter labextension install @jupyterlab/toc

jupyterlab-spreadsheet

jupyter labextension install jupyterlab-spreadsheet

jupyterlab-variableInspector

jupyter labextension install @lckr/jupyterlab_variableinspector

jupyter-matplotlib

pip install ipympl
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib
jupyter lab build

jupyterlab-plotly

jupyter labextension install jupyterlab-plotly
jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidget

jupyter_bokeh

conda install -c bokeh jupyter_bokeh
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @bokeh/jupyter_bokeh

debugger

conda create -n jupyterlab-debugger -c conda-forge xeus-python=0.8.0 notebook=6 jupyterlab=2 ptvsd nodejs
conda activate jupyterlab-debugger
jupyter labextension install @jupyterlab/debugger

jupyterlab_html

jupyter labextension install @mflevine/jupyterlab_html

jupyterlab-sql

pip install jupyterlab_sql
jupyter serverextension enable jupyterlab_sql --py --sys-prefix
jupyter lab build

jupyterlab-system-monitor

要求

  • JupyterLab 1.0+
  • Node.js

JupyterLab 3.x

pip install jupyterlab-system-monitor

JupyterLab 2.x

安装nbresuse

pip install nbresuse
# 或者
conda install -c conda-forge nbresuse

jupyter labextension install jupyterlab-topbar-extension jupyterlab-system-monitor

jupyter-renderers

  • fasta-extension: jupyter labextension install @jupyterlab/fasta-extension
  • geojson-extension: jupyter labextension install @jupyterlab/geojson-extension
  • katex-extension: jupyter labextension install @jupyterlab/katex-extension
  • mathjax3-extension: jupyter labextension install @jupyterlab/mathjax3-extension
  • vega2-extension: jupyter labextension install @jupyterlab/vega2-extension
  • vega3-extension: jupyter labextension install @jupyterlab/vega3-extension
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

great-wind

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值