Search code examples
pythonjupyter-notebookthemestoolbar

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.


Solution

  • 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