使用 jupyter themes 更换 jupyter notebook 的主题
github仓库官网,请查看
安装Jupyter themes的教程有很多,最简单的就是pip install jupyterthemes
,然后可以通过jt
命令调用,具体的请看github
我的配置方案是
$ jt -t grade3 -ofs 11 -cellw 1200 -f cour -nf georgiaserif -tf georgiaserif -fs 12
这里用到了自己的字体,Courier New,本来的 jupyter themes 不提供这个字体,然而我用了太习惯了,所以自己强行加了这个字体,下面说一下如何加入自定义的字体
首先随便设置一个字体,比如如下的命令
然后可以找到框里的路径,打开这个文件找到stored_font_dicts