docker pull wrist/jupyterlab-custom:latest
Settings -> Text Editor Key Map
Sublime Text
, vim
, emacs
shift+tab
# sumにカーソルをあてて`shift+tab`
y = sum([1, 2, 3])
y
6
import scipy as sp
import scipy.signal as sg
shift+command+c
shift+ctrl+]
command+B
slide type変更のショートカットがないのが辛い
command+v
で挿入可能win+shift+s
やshift+ctrl+command+4
で選択してキャプチャした矩形画像を挿入Show Markdown Preview
を選択サイドバー -> スパナアイコン -> Slide Type
を設定File -> Export Notebook As... -> Reveal.js
でスライド生成スパナアイコン -> Advanced Tools -> Notebook Metadata
で付与可能jupyter labextension install ...
pip install jupyterlab_git
jupyter serverextension enable --py jupyterlab_git
awesome
jupyter
などを調べるEnable Extension Manager
を実行@jupyter/toc
¶@jupyter/git
¶nbdime
による差分表示https://github.com/jupyterlab/jupyterlab-git
pip install jupyterlab_git
jupyter serverextension enable --py jupyterlab_git
jupyter labextension install @jupyterlab/git
jupyter lab build
jupyterlab-vim
¶shift+ctrl+esc
ctrl+enter
(エクステンションに関係なく使用可能)@lckr/jupyterlab_variableinspector
¶_
に辞書を格納してるっぽいhttps://github.com/lckr/jupyterlab-variableInspector
jupyter labextension install @lckr/jupyterlab_variableinspector
Open Variable Inspector
を選択import numpy as np
x = 1
a = np.random.randn(10, 20)
@ryantam626/jupyterlab_code_formatter
¶https://github.com/ryantam626/jupyterlab_code_formatter
jupyter labextension install @lckr/jupyterlab_variableinspector
FROM jupyter/scipy-notebook
MAINTAINER Hiromasa OHASHI <stoicheia1986@gmail.com>
RUN pip install jupyterlab_git jupyterlab_code_formatter autopep8 black
RUN jupyter serverextension enable --py jupyterlab_git
RUN jupyter serverextension enable --py jupyterlab_code_formatter
RUN jupyter labextension install \
@jupyterlab/toc @jupyterlab/git \
@lckr/jupyterlab_variableinspector \
@ryantam626/jupyterlab_code_formatter
RUN jupyter lab build