Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Toolbar not visible after setting jupyter notebook theme

The toolbar and notebook name does not show when I call and load the themes from the notebook.

I can load the themes from notebook using a code but I am not sure how to use the switches like -T and -N for call to toolbar and notebook name.

I have used the following in a code cell:

from jupyterthemes import get_themes
import jupyterthemes as jt
from jupyterthemes.stylefx import set_nb_theme
set_nb_theme('solarizedd')

The theme changes but the toolbar and notebook name does not appear. Even using the Toggle Header and Toggle Name from view in menu bar has no effect.

like image 710
J. Dowee Avatar asked Sep 03 '25 15:09

J. Dowee


2 Answers

TLDR : Run this :

!jt -t solarizedd -T -N -kl

Explanation:

I just installed the jupyter themes and went thru the same issue. My regular and nbextension toolbar disappeared and could not make it come back unless I reverted to default !jt -r.

after some research i fugure it out....so your cell should write

from jupyterthemes import get_themes import jupyterthemes as jt from jupyterthemes.stylefx import set_nb_theme set_nb_theme('solarizedd', -T, -N,-kl)

  • Toolbar Visible -T
  • Name & Logo Visible -N
  • Kernel Logo Visible -kl
  • their defaults are set to none

see the documentation documentation of jupyter theme

or something more permanent and fewer lines of code, using the command "!" in the actual cell

!jt -t solarizedd -T -N -kl
like image 104
JackoM Avatar answered Sep 05 '25 14:09

JackoM


jt -t oceans16 -T -N

this would surely help.

like image 20
Ashok Sanke Avatar answered Sep 05 '25 15:09

Ashok Sanke