mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Default matplotlib to inline backend
Fixes #235 (c) Copyright IBM Corp. 2016
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user