Default matplotlib to inline backend

Fixes #235

(c) Copyright IBM Corp. 2016
This commit is contained in:
Peter Parente
2016-07-09 16:29:26 -04:00
parent 9f67ac2ec4
commit acca69d08d

View File

@@ -63,6 +63,10 @@ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
RUN ln -s $CONDA_DIR/envs/python2/bin/pip $CONDA_DIR/bin/pip2 && \
ln -s $CONDA_DIR/bin/pip $CONDA_DIR/bin/pip3
# Configure ipython kernel to use matplotlib inline backend by default
RUN mkdir -p $HOME/.ipython/profile_default && \
echo "c.InteractiveShellApp.matplotlib = 'inline'" > $HOME/.ipython/profile_default/ipython_kernel_config.py
USER root
# Install Python 2 kernel spec globally to avoid permission problems when NB_UID