close

How to reset jupyter notebook theme to default?

Hello Guys, How are you all? Hope You all Are Fine. Today We Are Going To learn about How to reset jupyter notebook theme to default in Python. So Here I am Explain to you all the possible Methods here.

Without wasting your time, Let’s start This Article.

Table of Contents

How to reset jupyter notebook theme to default?

  1. How to reset jupyter notebook theme to default?

    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.

  2. reset jupyter notebook theme to default

    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.

Method 1

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.

Method 2

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 | solarizedd
jt -t <THEME_NAME>

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

jt -r

Summery

It’s all About this issue. Hope all Methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which Method worked for you? Thank You.

Also, Read