diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..b814073 --- /dev/null +++ b/Project.toml @@ -0,0 +1,14 @@ +[deps] +CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" +DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" +Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" +Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0" +Interact = "c601a237-2ae4-5e1e-952c-7a85b0c7eef1" +PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5" +PlotlyJS = "f0f68f2c-4968-5e81-91da-67840de0976a" +Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" +Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" +TextParse = "e0df1984-e451-5cb5-8b61-797a481e67e3" + +[compat] +julia = "1.6" diff --git a/postBuild b/postBuild new file mode 100644 index 0000000..de9593f --- /dev/null +++ b/postBuild @@ -0,0 +1,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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b9f45fa --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +webio_jupyter_extension +ipywidgets +jupyter_contrib_nbextensions