Jupyter Notebook 编辑器美化

汇总系列:https://www.cnblogs.com/dunitian/p/4822808.html#ai

2018-10-10新增Linux样式路径:

Logo:

~/anaconda3/lib/python3.7/site-packages/notebook/static/base/images

~/anaconda3/pkgs/notebook-5.6.0-py37_0/lib/python3.7/site-packages/notebook/static/base/images

Style:

~/anaconda3/lib/python3.7/site-packages/notebook/static/custom

~/anaconda3/pkgs/notebook-5.6.0-py37_0/lib/python3.7/site-packages/notebook/static/custom

装Anaconda基本上各种包就全了,Notebook编辑器字体还是有点看不惯,美化一下:

D:\Program Files (x86)\Anaconda3\Lib\site-packages\notebook\static\custom\custom.css

单独安装了Python的,到安装目录下:/lib/site-packages/notebook/static/custom/custom.css


美化一下:

设置字体为:Consolas;

div.CodeMirror pre {font-family: Consolas;}

div.output pre {font-family: Consolas;}

图标替换路径

D:\Program Files (x86)\Anaconda3\Lib\site-packages\notebook\static\base\images\logo.png

附录:(Linu其实不用美化,自带样式挺好的)

来张Linux的图(linux默认没有Consolas字体哦~

 

posted @ 2018-04-09 15:28 鲲逸鹏 阅读(...) 评论(...) 编辑 收藏