From charlesreid1

(Created page with "Applying Base16 themes to ipython notebook via https://github.com/nsonnad/base16-ipython-notebook ==Before== 500px ==Installing== Clone...")
 
Line 12: Line 12:


<pre>
<pre>
ipython profile create <profile-name>
ipython profile create bespin
</pre>
</pre>


Line 18: Line 18:


<pre>
<pre>
ipython locate profile <profile-name>
ipython locate profile bespin
</pre>
</pre>


Line 24: Line 24:


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

Revision as of 10:03, 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:

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