48 themes for your IPython notebook

English   |   Código fuente   |   Minimap

OK, a short post to give you some material to play with over the weekend ;-).

Today, I woke up early and whereas I was drinking a mate (a native drink here in Argentina) for breakfast, I remember a tweet from Nikhil Sonnad where I was mentioned:

Essentially, he made available 48 IPython notebook themes based in the base16 color scheme generator. Thanks Nikhil for your work!!!

Well, I want to try them all and quickly, so I wrote some little code to do it:

First, some imports...

In [1]:
import os
import subprocess
import urllib
  Click me to hide the output

Second, make a list with all the theme names...

In [2]:
theme_names = ['3024-dark',
               '3024-light',
               'atelierdune-dark',
               'atelierdune-light',
               'atelierforest-dark',
               'atelierforest-light',
               'atelierheath-dark',
               'atelierheath-light',
               'atelierlakeside-dark',
               'atelierlakeside-light',
               'atelierseaside-dark',
               'atelierseaside-light',
               'bespin-dark',
               'bespin-light',
               'chalk-dark',
               'chalk-light',
               'default-dark',
               'default-light',
               'eighties-dark',
               'eighties-light',
               'grayscale-dark',
               'grayscale-light',
               'greenscreen-dark',
               'greenscreen-light',
               'isotope-dark',
               'isotope-light',
               'londontube-dark',
               'londontube-light',
               'marrakesh-dark',
               'marrakesh-light',
               'mocha-dark',
               'mocha-light',
               'monokai-dark',
               'monokai-light',
               'ocean-dark',
               'ocean-light',
               'paraiso-dark',
               'paraiso-light',
               'railscasts-dark',
               'railscasts-light',
               'shapeshifter-dark',
               'shapeshifter-light',
               'solarized-dark',
               'solarized-light',
               'tomorrow-dark',
               'tomorrow-light',
               'twilight-dark',
               'twilight-light']
  Click me to hide the output

The themes are css files, so we can create a new profile for each theme and add the css content to the custom.css file inside each profile. To do it, I use some little magic tricks from IPython...

In [3]:
for i in theme_names:
    !ipython profile create $i
    profile_dir = !ipython locate profile $i
    url = "https://raw.githubusercontent.com/nsonnad/base16-ipython-notebook/master/base16-" + i + ".css"
    tgt = os.path.join(profile_dir[0], 'static', 'custom', "custom.css")
    urllib.urlretrieve (url, tgt)
  Click me to hide the output
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_3024-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierdune-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierforest-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierheath-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierlakeside-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_atelierseaside-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_bespin-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_chalk-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_default-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_eighties-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_grayscale-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_greenscreen-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_isotope-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_londontube-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_marrakesh-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_mocha-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_monokai-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_ocean-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_paraiso-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_railscasts-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_shapeshifter-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_solarized-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_tomorrow-light/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-dark/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-dark/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-dark/ipython_nbconvert_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-light/ipython_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-light/ipython_notebook_config.py'
[ProfileCreate] Generating default config file: u'/home/damian/.ipython/profile_twilight-light/ipython_nbconvert_config.py'

Now, I want to try it... quickly... so I launch a new IPython server for each profile in specific ports. I also pass the --no-browser option to avoid opening 48 tabs in a row (depending of your computing power this can be problematic).

In [4]:
for i, name in enumerate(theme_names):
    port = str(9000 + i) 
    subprocess.Popen(["ipython", "notebook", "--profile=" + name, "--port=" + port, "--no-browser"])
  Click me to hide the output

Finally, because I am lazy ;-), I build the urls to see this same notebook with each different theme (don't forget to use the incognito mode of your browser to avoid css caching and at least IPython 2.0).

In [5]:
base_url = "http://127.0.0.1:"
notebook = "/notebooks/48-themes-for-your-ipython-notebook.ipynb"

for i, name in enumerate(theme_names):
    port = str(9000 + i) 
    url = base_url + port + notebook
    print url, name
  Click me to hide the output
http://127.0.0.1:9000/notebooks/48-themes-for-your-ipython-notebook.ipynb 3024-dark
http://127.0.0.1:9001/notebooks/48-themes-for-your-ipython-notebook.ipynb 3024-light
http://127.0.0.1:9002/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierdune-dark
http://127.0.0.1:9003/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierdune-light
http://127.0.0.1:9004/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierforest-dark
http://127.0.0.1:9005/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierforest-light
http://127.0.0.1:9006/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierheath-dark
http://127.0.0.1:9007/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierheath-light
http://127.0.0.1:9008/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierlakeside-dark
http://127.0.0.1:9009/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierlakeside-light
http://127.0.0.1:9010/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierseaside-dark
http://127.0.0.1:9011/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierseaside-light
http://127.0.0.1:9012/notebooks/48-themes-for-your-ipython-notebook.ipynb bespin-dark
http://127.0.0.1:9013/notebooks/48-themes-for-your-ipython-notebook.ipynb bespin-light
http://127.0.0.1:9014/notebooks/48-themes-for-your-ipython-notebook.ipynb chalk-dark
http://127.0.0.1:9015/notebooks/48-themes-for-your-ipython-notebook.ipynb chalk-light
http://127.0.0.1:9016/notebooks/48-themes-for-your-ipython-notebook.ipynb default-dark
http://127.0.0.1:9017/notebooks/48-themes-for-your-ipython-notebook.ipynb default-light
http://127.0.0.1:9018/notebooks/48-themes-for-your-ipython-notebook.ipynb eighties-dark
http://127.0.0.1:9019/notebooks/48-themes-for-your-ipython-notebook.ipynb eighties-light
http://127.0.0.1:9020/notebooks/48-themes-for-your-ipython-notebook.ipynb grayscale-dark
http://127.0.0.1:9021/notebooks/48-themes-for-your-ipython-notebook.ipynb grayscale-light
http://127.0.0.1:9022/notebooks/48-themes-for-your-ipython-notebook.ipynb greenscreen-dark
http://127.0.0.1:9023/notebooks/48-themes-for-your-ipython-notebook.ipynb greenscreen-light
http://127.0.0.1:9024/notebooks/48-themes-for-your-ipython-notebook.ipynb isotope-dark
http://127.0.0.1:9025/notebooks/48-themes-for-your-ipython-notebook.ipynb isotope-light
http://127.0.0.1:9026/notebooks/48-themes-for-your-ipython-notebook.ipynb londontube-dark
http://127.0.0.1:9027/notebooks/48-themes-for-your-ipython-notebook.ipynb londontube-light
http://127.0.0.1:9028/notebooks/48-themes-for-your-ipython-notebook.ipynb marrakesh-dark
http://127.0.0.1:9029/notebooks/48-themes-for-your-ipython-notebook.ipynb marrakesh-light
http://127.0.0.1:9030/notebooks/48-themes-for-your-ipython-notebook.ipynb mocha-dark
http://127.0.0.1:9031/notebooks/48-themes-for-your-ipython-notebook.ipynb mocha-light
http://127.0.0.1:9032/notebooks/48-themes-for-your-ipython-notebook.ipynb monokai-dark
http://127.0.0.1:9033/notebooks/48-themes-for-your-ipython-notebook.ipynb monokai-light
http://127.0.0.1:9034/notebooks/48-themes-for-your-ipython-notebook.ipynb ocean-dark
http://127.0.0.1:9035/notebooks/48-themes-for-your-ipython-notebook.ipynb ocean-light
http://127.0.0.1:9036/notebooks/48-themes-for-your-ipython-notebook.ipynb paraiso-dark
http://127.0.0.1:9037/notebooks/48-themes-for-your-ipython-notebook.ipynb paraiso-light
http://127.0.0.1:9038/notebooks/48-themes-for-your-ipython-notebook.ipynb railscasts-dark
http://127.0.0.1:9039/notebooks/48-themes-for-your-ipython-notebook.ipynb railscasts-light
http://127.0.0.1:9040/notebooks/48-themes-for-your-ipython-notebook.ipynb shapeshifter-dark
http://127.0.0.1:9041/notebooks/48-themes-for-your-ipython-notebook.ipynb shapeshifter-light
http://127.0.0.1:9042/notebooks/48-themes-for-your-ipython-notebook.ipynb solarized-dark
http://127.0.0.1:9043/notebooks/48-themes-for-your-ipython-notebook.ipynb solarized-light
http://127.0.0.1:9044/notebooks/48-themes-for-your-ipython-notebook.ipynb tomorrow-dark
http://127.0.0.1:9045/notebooks/48-themes-for-your-ipython-notebook.ipynb tomorrow-light
http://127.0.0.1:9046/notebooks/48-themes-for-your-ipython-notebook.ipynb twilight-dark
http://127.0.0.1:9047/notebooks/48-themes-for-your-ipython-notebook.ipynb twilight-light

Easy and quick, don't you think?

OK, a lot of IPython servers opened, let's kill them all!!! I feel like George R. R. Martin ;-).

In [ ]:
!killall -9 ipython
  Click me to hide the output

Obviously, this command also killed the current notebook (remember, this post is in fact an IPython notebook, and you can get it from the source link at the top of the post)... but I am right with that... this is the end of this post.

Final note: I did not like any complete theme, but I really like some part from several themes, so it worths to see them to take each nice part and make my own theme in the future.

Good weekend!

Damián

Did you like the content? Great!

Or visit my support page for more information.


Btw, don't forget this blog post is an ipynb file itself! So, you can download it from the "Source" link at the top of the post if you want to play with it ;-)

Comments powered by Disqus