windows下更换 jupyter notebook 主题的方法如下:
(1)下载到本地(使用git bash命令行界面)
git clone https://github.com/dunovank/jupyter-themes
(2)Install with pip
# install jupyterthemes
pip install jupyterthemes
# upgrade to latest version
pip install --upgrade jupyterthemes
(3)上面安装完成后,可以尝试切换主题了
# list available themes
# onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd
jt -l
Available Themes:
chesterish
grade3
gruvboxd
gruvboxl
monokai
oceans16
onedork
solarizedd
solarizedl
# select theme...
jt -t chesterish
通常jt -t chesterish执行没任何输出说明没问题。
再执行下如下命令
jupyter notebook
会自动打开浏览器,会发现主题变化啦。