Dark Mode Jupyter Notebook
Is it possible to somehow view the Jupyter notebook for Sagemath in Dark Mode? If yes, how?
Is it possible to somehow view the Jupyter notebook for Sagemath in Dark Mode? If yes, how?
You can work along those lines from within a notebook
pip install jupyterthemes
If you typset
!jt -1
you will obtain the 9 proposed themes that is 1) chesterish, 2) grade3, 3) gruvboxd, 4) gruvboxl, 5) monokai, 6) oceans16, 7) oceans16, 7) onedork, 8) solarizedd 9) solarizedl
to load one or the other of those themes, the command are
from jupyterthemes import get_themes
import jupyterthemes as jt
from jupyterthemes.stylefx import set_nb_theme
set_nb_themes('the themes you want')
to go back to the standard themes
!jt -r
Hope I have not written a mistake.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-12-26 20:16:28 +0100
Seen: 415 times
Last updated: Dec 29 '23
How to configure jupyter for Sage-specific use?
add entire tab column in Jupyter notebook? [closed]
Sage Notebook crashes immediately
Opening "old" Sage Notebooks in Jupyter: not UTF-8 encoded
Interact layout in Jupyter-Notebook
Convert existing notebook to Jupyter
Sage on Jupyter - socket error
Problems with AMS symbols in Sage, Jupyter [closed]
ISTR that this is a function of the browser you use to display Jupyter...
The browser still reads CSS which it is told to read from somewhere. Finding that was particularly painful. Turns out, running
!jt -r
inside the notebook, which is just supposed to bring settings to default, also tells you the directories where modifications were made, and I think from that point onwards, the daring can even write their own CSS instead of using Jupyterthemes as shown below, and have fun.