From charlesreid1

Line 25: Line 25:
<pre>
<pre>
mkdir -p `ipython locate profile bespin`/static/custom/
mkdir -p `ipython locate profile bespin`/static/custom/
</pre>
once per profile, then:
<pre>
wget -O `ipython locate profile bespin`/static/custom/custom.css \
wget -O `ipython locate profile bespin`/static/custom/custom.css \
https://raw.githubusercontent.com/nsonnad/base16-ipython-notebook/master/ipython-3/output/base16-bespin-dark.css
https://raw.githubusercontent.com/nsonnad/base16-ipython-notebook/master/ipython-3/output/base16-bespin-dark.css
</pre>
</pre>

Revision as of 10:05, 2 December 2017

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

Before

JupyterBase16 Before.png

Installing

Clone repo here: https://github.com/nsonnad/base16-ipython-notebook

Start by creating a custom profile in ipython:

ipython profile create bespin

Now locate the directory containing files for that custom profile:

ipython locate profile bespin

Or skip straight to it:

mkdir -p `ipython locate profile bespin`/static/custom/

once per profile, then:

wget -O `ipython locate profile bespin`/static/custom/custom.css \
https://raw.githubusercontent.com/nsonnad/base16-ipython-notebook/master/ipython-3/output/base16-bespin-dark.css