-
Notifications
You must be signed in to change notification settings - Fork 37
/
postbuild_linux
31 lines (21 loc) · 1.1 KB
/
postbuild_linux
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
26
27
28
29
30
31
#!/bin/bash
export NODE_OPTIONS=--max-old-space-size=4096
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 @jupyterlab/plotly-extension
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
jupyter labextension install jupyterlab_voyager
# Clear output of all notebooks.
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace **/*.ipynb