一、jupyter的主题
https://github.com/dunovank/jupyter-themes
安装
pip install --upgrade jupyterthemes
主题切换
jt -t chesterish -T -N
主题换回来
jt -r
安装了主题之后,jupyter的显示自动变成中文的。
二、jupyter切换背景
jupyter的风格预设路径在 ~/.jupyter 下。
在~/.jupyter/custom
下有custom.css custom.js fonts
,修改custom.css custom.js
即可。
如:
body {
background: url('images/blurry_03.jpeg') no-repeat left top !important;
background-size: 100% !important;
}
添加图片背景:
![](https://img.haomeiwen.com/i3341358/fab86845f872d87a.png)
![](https://img.haomeiwen.com/i3341358/a2cee6384d4d2ee2.png)
网友评论