Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change background color of Jupyter notebooks

Tags:

pycharm

I use PyCharm Community Edition with a dark background. When plotting in a Jupyter Notebook, the labels and the units of the axis are black on dark background, hence unreadable. Is there a way of changing the background color for the Jupyter Notebooks only?

like image 970
Duccio A Avatar asked Aug 15 '17 19:08

Duccio A


People also ask

How do I change the background color of a Jupyter notebook?

By default, the Jupyter notebook has a light theme and it does not include any built-in option to change the theme. Many users like to have a dark theme. We can change the theme in the jupyter notebook by installing an open-source library i.e., Jupyter themes by 'Kyle Dunovan'.

Can I customize Jupyter notebook?

Changing fontsJupyter Notebook themes do not only allow you to change themes but also do some additional customization regarding the fonts being used in the notebook. You can change the fonts when loading a theme with jt command and adding some additional parameters.


1 Answers

I had the same problem. According to the below, it's not possible unfortunately.

https://intellij-support.jetbrains.com/hc/en-us/community/posts/205435570-Jupyter-notebook-ouput-appearance

like image 69
eamon1234 Avatar answered Sep 23 '22 14:09

eamon1234