美文网首页
jupyter notebook背景主题设置

jupyter notebook背景主题设置

作者: 践行数据分析 | 来源:发表于2020-05-23 10:38 被阅读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

相关文章

网友评论

      本文标题:jupyter notebook背景主题设置

      本文链接:https://www.haomeiwen.com/subject/sgrpnhtx.html