How to reset jupyter notebook theme to default? How to reset jupyter notebook theme to default? python-3.x python-3.x

How to reset jupyter notebook theme to default?


An easier way might be to do:

pip install jupyterthemes

Now you can choose from the following given themes and activate it like this

# list available themes# onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizeddjt -t <THEME_NAME>

In order to reset your theme to the default theme just use

jt -r

For all information and more, visit github.com/dunovank/jupyter-themes

Hope this helps!


My previous suggestion of deleting the custom/ directory doesn't do the trick. jupyter caches the custom.css file in other directories that are tricky to clear all together. If it doesn't find a folder custom with .css file inside it it looks in other locations to pick up a .css file. Also, I'm not sure if every location is actually deleted when you uninstall jupyter.

The easiest solution is to delete the old custom.css and replace it with a new empty custom.css file. jupyter picks that up and goes back to its default look.


In order to reset your theme type in cmd

jt -r

delete the directories returned by console. Now restart the notebook server.