i was working on this notebook , ,
and I was trying to install a dark theme because its difficult with the light theme for the eyes,
I did a pip install jupyterthemes
and then
!jt -t with the name of the theme, I was following the guide in the share code link :
didn't work so I reload the page and after that it doesn't work on any browser :(
I can not open any notebook anymore
tried with edge, chrome and brave, delete all user data, cookies and anything related to quantra, still no luck

just tried again and it seems now it works, and I have my theme dark, but if I want to go back to the default theme using
!pip install jupyterthemes
and !jt -r
it seems like it breaks the notebook and I have to wait between 2 - 3 hours (from quantra side) so I can open again the notebook, has anybody experienced this before? is there a way to accelerate the process?
I can confirm that the 2 lines above will do the theme change, is there an easier way to do this?
Thanks for reading
FYI (lesson learned here) to change the theme
!pip install jupyterthemes
!jt -t [theme name]
!jt -l -> will list available themes in the notebook
I'm sorry to hear that you're facing issues with Jupyter Notebook after attempting to install a dark theme.
You can follow below steps to resolve the issue.
First, let's make sure you have the necessary package installed. Please run the following command to install the Jupyter Themes package:
!pip install jupyterthemes
Once the installation is complete, we can proceed to set the dark theme for your Jupyter Notebook. You can try using the "oceans16" theme, which is a popular dark theme or any other theme. Run the following code to set the theme:
from jupyterthemes.stylefx
import set_nb_theme set_nb_theme('oceans16')
Make sure to run these commands within a Jupyter Notebook cell. After running the above code, your Jupyter Notebook should have the dark theme applied.
If you're still unable to open any notebooks or encounter any errors, please provide more details or error messages, if any, so that I can assist you further in resolving the issue.
Thanks
invalid syntax from what you gave me
"
from jupyterthemes.stylefx
import set_nb_theme set_nb_theme('oceans16')
"
I figured it was an issue with the code snippet, the proper one would be:
from jupyterthemes.stylefx import set_nb_theme
set_nb_theme('default')
when I change to oceans16 I still can not see the menu bar, is there a way to solve this? I was having the same issue with the one before, I do not see the letters but the menu popup name element does appear+
have you experieced that issue before?
Thanks for your help Ishan, really appreciate it
Thanks, Sebastian
Yes you are right, the import should be in same line and toolbar gets hidden in dark theme by default.
I tried to find a solution for it but it is taking longer than usual.
May I request you to use DarkReader chrome extension, to set the dark theme.
I hope this helps.
wow that extension did the job, thank you very much Ishan! have a good one!