From charlesreid1

Applying Base16 themes to ipython notebook via https://github.com/nsonnad/base16-ipython-notebook

Before

JupyterBase16 Before.png

Installing Base16 Jupyter

Clone repo, and also clone submodules:

git clone https://github.com/charlesreid1/base16-jupyter

Create a Jupyter config directory in the default location and start a notebook server:

jupyter notebook --generate-config
jupyter notebook

Create a Jupyter config directory in a custom location and start a notebook server with that configuration:

JUPYTER_CONFIG_DIR=~/jupyter_custom jupyter notebook --generate-config
JUPYTER_CONFIG_DIR=~/jupyter_custom jupyter notebook

Custom CSS should go in custom/custom.css:

mkdir $JUPYTER_CONFIG_DIR/custom

Then copy any of the CSS files into this directory:

cd base16-jupyter/
cp colors/base16-bespin-dark.css $JUPYTER_CONFIG_DIR/custom/.

It should look like this:

JupyterBase16 after.png

Installing Base16 IPython Matplotlib

To get this looking even better, we need the matplotlib plots to have a style that matches the notebook theme. We can do this using the Base16-IPython-Matplotlib repository.

Guide: Jupyter/Base16mpl

End product:

JupyterBase16 after after.png

JupyterBase16 after after2.png