Change the Theme in Jupyter Notebook?

Moby Khan picture Moby Khan · Oct 1, 2017 · Viewed 273.2k times · Source

I like dark themes. However, the default theme of Jupyter notebooks is light, and I can't find the option to change the theme/background-color. How is this done?

Answer

Aaron picture Aaron · Oct 4, 2017

This is easy to do using the jupyter-themes package by Kyle Dunovan. You may be able to install it using conda. Otherwise, you will need to use pip.

Install it with conda:

conda install -c conda-forge jupyterthemes

or pip

pip install jupyterthemes

Then change your theme with

jt -t chesterish

To load the chesterish theme or any other. Finally, reload the page. The docs and source code are here: https://github.com/dunovank/jupyter-themes