/
postBuild
25 lines (18 loc) · 973 Bytes
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
jupyter labextension install @jupyter-widgets/jupyterlab-manager
# https://github.com/jupyterlab/jupyterlab-toc
jupyter labextension install @jupyterlab/toc
jupyter labextension install @lckr/jupyterlab_variableinspector
# https://github.com/rmotr/jupyterlab-solutions
jupyter labextension install @rmotr/jupyterlab-solutions
jupyter serverextension enable jupyterlab_rmotr_solutions
mv jupyter_notebook_config.py ~/.jupyter/
jupyter labextension install jupyter-matplotlib
jupyter labextension install @ryantam626/jupyterlab_code_formatter
jupyter serverextension enable --py jupyterlab_code_formatter
jupyter labextension install jupyter-matplotlib
# https://ipywidgets.readthedocs.io/en/stable/user_install.html
conda install -y -n base -c conda-forge widgetsnbextension
conda install -y -n scientific_programming -c conda-forge ipywidgets
# Clear output of all notebooks.
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace **/*.ipynb