直接开始
安装jupytethemes:
pip install jupyterthemes pip install --upgrade jupyterthemes
升级notebook:
conda upgrade notebook
查看可供选择的样式:
jt -l
选择样式:
jt -t 主题名
这是我的设置:
jt -t onedork -f roboto -fs 12 -nfs 12 -tfs 12 -ofs 11
简单介绍一下:
-t是选择主题参数, onedork是一个主题的名字
-f是选择字体参数. roboto是一个字体的名字
-fs是字体大小(font size))
-nfs是notebook font size
-tfs是text font size
-ofs是output font size
具体的参数可去jupytethemes项目的GitHub地址查看:
GitHub - dunovank/jupyter-themes: Custom Jupyter Notebook Themeshttps://github.com/dunovank/jupyter-themes
我在这里也贴一份:



