# install/upgrade to latest version
pip install --upgrade jupyterthemes
Known issues
Depending on your system, browser, etc., you may need to empty your browser cache after installing a new theme (-t) or attempting to restore the default (-r) in order for those changes to take effect. (see discussion here)
If emptying the cache doesn't work, you may need to start a new jupyter session or restart your browser (see discussion here)
Some users have found that "jt" is not recognized after installing the pypi release (as shown above). Still trying to get to the bottom of this but apparently the following provides a temporary fix (see discussion here).
# uninstall any existing versions
pip uninstall jupyterthemes
# install from the github repo
pip install --user git+https://github.com/dunovank/jupyter-themes.git
# list available themes# oceans16 | grade3 | chesterish | onedork | monokai | solarized-light
jt -l
# select theme...
jt -t chesterish
# restore default theme# NOTE: Need to delete browser cache after running jt -r# If this doesn't work, try starting a new notebook session.
jt -r
# toggle toolbar ON and notebook name ON
jt -t grade3 -T -N
# set code font to 'Roboto Mono' 12pt# (see monospace font table below)
jt -t oceans16 -f roboto -fs 12
# set code font to Fira Mono, 11.5pt# 3digit font-size gets converted into float (115-->11.5)
jt -t grade3 -f fira -fs 115
# set text-cell/markdown and notebook fonts# (see sans-serif & serif font tables below)
jt -t onedork -tf georgiaserif -nf droidsans
# adjust cell width, line-height of codecells
jt -t chesterish -cellw 900 -lineh 170
# fix the container-margins on the intro page (defaults to 'auto')
jt -t onedork -m 200
# adjust cursor width (in px) and make cursor red (r)# options: b (blue), o (orange), r (red), p (purple), g (green)
jt -t grade3 -cursc r -cursw 5
# toggle toolbar ON and notebook name ON
jt -t grade3 -T -N
# choose alternate txt/markdown layout (-alt)# and alternate cell prompt (narrow, no numbers)
jt -t grade3 -alt -altp