I'm using the jupyter notebook installed with Anaconda (I'm on Mac). Few days ago, I wanted to change the theme to have a dark background, and I followed the instructions here. Namely, I've downloaded the theme custom.css
and placed it in ~/.jupyter/custom/
. It worked very well.
I liked the theme, but I would like to go back to the default one (this one does not show the main toolbar, among other things). I tried to remove the custom.css
from its folder, I reset my terminal, but nothing changes! I'm guessing that jupyter keeps a copy of the themes somewhere that I should delete, but I can't find it.
I have also tried uninstalling jupyter and reinstalling, following the commands:
conda update conda conda uninstall ipython conda install jupyter
Again, no change. I'm stuck with my black background theme with no toolbar.
You can restart your Jupyter Kernel by simply clicking Kernel > Restart from the Jupyter menu. Note: This will reset your notebook and remove all variables or methods you've defined! Sometimes you'll notice that your notebook is still hanging after you've restart the kernel. If this occurs try refreshing your browser.
Use FireFox Plug-in "Darker Jupyter". It will work as long as Firefox is the default browser.
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
For all information and more, visit github.com/dunovank/jupyter-themes
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With