Jupyter Notebook Themes

Jupyter Notebook Themes:

Here is a simple three liner to change your notebook theme:

You can copy the code from here and run it in your notebook.

Line 1: !pip install jupyterthemes    
(First step, Install this package!)
Shift Enter
Line 2: !jt -l                                     
(List of all the available themes)
Shift Enter
Line 3: !jt -t grade3                        
(Type what theme you prefer Ex. grade3 and run the cell)
Shift Enter

Note: Save the code and reload the page to update your theme

Default Notebook Theme


List of all the themes and how they would look on your system:

grade3

chesterish

gruvboxd

monokai

oceans16

onedork

solarizedd

solarizedl

gruvboxl

Now, to reset to the default theme, run this line:

Line 4: !jt -r                                                 
(Run this cell)
Shift Enter

Note: Save the code and reload the page to update your theme

Default Notebook Theme

NOTE: Do NOT add the #comments as I did and run the code. It wont work!

Comments

Post a Comment

Popular posts from this blog

COVID-19 Vaccination Appointment Procedure