jupyter notebook背景主题设置
2020-05-23 本文已影响0人
践行数据分析
安装Jupyter主题:
pip install jupyterthemes
然后,更新Jupyter主题:
pip install --upgrade jupyterthemes
查看可用主题:
jt -l
喜欢暗一点的背景主题,于是选择了monokai,它还支持语法高亮。下面是我的背景主题设置:
jt -t monokai -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -N
-f(字体) -fs(字体大小) -cellw(占屏比或宽度) -ofs(输出段的字号) -T(显示工具栏) -N(显示自己主机名)

也有人这样设置的:
jt -t oceans16 -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T

恢复juper 默认风格
jt -r