-
-
Notifications
You must be signed in to change notification settings - Fork 661
Expand file tree
/
Copy pathpostBuild
More file actions
24 lines (18 loc) · 852 Bytes
/
postBuild
File metadata and controls
24 lines (18 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
jupyter contrib nbextension install --user
jupyter nbextension enable --py widgetsnbextension
# jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --minimize=False
# https://binnisb.github.io/blog/datascience/2020/04/02/Plotly-in-lab.html
# Avoid "JavaScript heap out of memory" errors during extension installation
# (OS X/Linux)
export NODE_OPTIONS=--max-old-space-size=4096
# Jupyter widgets extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
# jupyterlab renderer support
jupyter labextension install jupyterlab-plotly --no-build
# FigureWidget support
jupyter labextension install plotlywidget --no-build
# Build extensions (must be done to activate extensions since --no-build is used above)
jupyter lab build
# Unset NODE_OPTIONS environment variable
# (OS X/Linux)
unset NODE_OPTIONS