Commit a99b2811 authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #1029 from mpmdean/master

Try to get ipympl working
parents 5438a605 2746f503
...@@ -84,7 +84,7 @@ packages from [conda-forge](https://conda-forge.github.io/feedstocks) ...@@ -84,7 +84,7 @@ packages from [conda-forge](https://conda-forge.github.io/feedstocks)
[numba](https://numba.pydata.org/), [bokeh](https://bokeh.pydata.org/en/latest/), [sqlalchemy](https://www.sqlalchemy.org/), [hdf5](http://www.h5py.org/), [numba](https://numba.pydata.org/), [bokeh](https://bokeh.pydata.org/en/latest/), [sqlalchemy](https://www.sqlalchemy.org/), [hdf5](http://www.h5py.org/),
[vincent](http://vincent.readthedocs.io/en/latest/), [beautifulsoup](https://www.crummy.com/software/BeautifulSoup/), [vincent](http://vincent.readthedocs.io/en/latest/), [beautifulsoup](https://www.crummy.com/software/BeautifulSoup/),
[protobuf](https://developers.google.com/protocol-buffers/docs/pythontutorial), and [xlrd](http://www.python-excel.org/) packages [protobuf](https://developers.google.com/protocol-buffers/docs/pythontutorial), and [xlrd](http://www.python-excel.org/) packages
* [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) for interactive visualizations in Python notebooks * [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) and [ipympl](https://github.com/matplotlib/jupyter-matplotlib) for interactive visualizations and plots in Python notebooks
* [Facets](https://github.com/PAIR-code/facets) for visualizing machine learning datasets * [Facets](https://github.com/PAIR-code/facets) for visualizing machine learning datasets
### jupyter/tensorflow-notebook ### jupyter/tensorflow-notebook
...@@ -206,4 +206,3 @@ binder:[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/ ...@@ -206,4 +206,3 @@ binder:[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/
See the [contributing guide](../contributing/stacks.md) for information about how to create your own Jupyter Docker Stack. See the [contributing guide](../contributing/stacks.md) for information about how to create your own Jupyter Docker Stack.
...@@ -26,6 +26,7 @@ RUN conda install --quiet --yes \ ...@@ -26,6 +26,7 @@ RUN conda install --quiet --yes \
'h5py=2.10.*' \ 'h5py=2.10.*' \
'hdf5=1.10.*' \ 'hdf5=1.10.*' \
'ipywidgets=7.5.*' \ 'ipywidgets=7.5.*' \
'ipympl=0.5.*'\
'matplotlib-base=3.1.*' \ 'matplotlib-base=3.1.*' \
'numba=0.48.*' \ 'numba=0.48.*' \
'numexpr=2.7.*' \ 'numexpr=2.7.*' \
...@@ -40,6 +41,7 @@ RUN conda install --quiet --yes \ ...@@ -40,6 +41,7 @@ RUN conda install --quiet --yes \
'statsmodels=0.11.*' \ 'statsmodels=0.11.*' \
'sympy=1.5.*' \ 'sympy=1.5.*' \
'vincent=0.4.*' \ 'vincent=0.4.*' \
'widgetsnbextension=3.5.*'\
'xlrd' \ 'xlrd' \
&& \ && \
conda clean --all -f -y && \ conda clean --all -f -y && \
...@@ -48,8 +50,9 @@ RUN conda install --quiet --yes \ ...@@ -48,8 +50,9 @@ RUN conda install --quiet --yes \
# Also activate ipywidgets extension for JupyterLab # Also activate ipywidgets extension for JupyterLab
# Check this URL for most recent compatibilities # Check this URL for most recent compatibilities
# https://github.com/jupyter-widgets/ipywidgets/tree/master/packages/jupyterlab-manager # https://github.com/jupyter-widgets/ipywidgets/tree/master/packages/jupyterlab-manager
jupyter labextension install @jupyter-widgets/jupyterlab-manager@^1.0.1 --no-build && \ jupyter labextension install @jupyter-widgets/jupyterlab-manager@^1.1.0 --no-build && \
jupyter labextension install jupyterlab_bokeh@1.0.0 --no-build && \ jupyter labextension install jupyterlab_bokeh@1.0.0 --no-build && \
jupyter labextension install jupyter-matplotlib --no-build && \
jupyter lab build && \ jupyter lab build && \
npm cache clean --force && \ npm cache clean --force && \
rm -rf $CONDA_DIR/share/jupyter/lab/staging && \ rm -rf $CONDA_DIR/share/jupyter/lab/staging && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment