Jupyter更换默认主题
先看一下默认打开jupyter的界面

我们更换一下主题:
直接安装命令:.
方式一:
pip install jupyterthemes
如果下载慢的话可以使用其他的python源
这里我们使用清华大学的源
PyPI使用国内源(pip更换国内源)
通过几次 pip 的使用,对于默认的 pip 源的速度实在无法忍受,于是便搜集了一些国内的pip源,如下:
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
用法
pip install jupyterthemes -i https://pypi.tuna.tsinghua.edu.cn/simple/
之后即可安装成功
我们输入需要更换的样式,这里我就使用这个命令了 参数可以任意配置,大家可以复制我的:
jt -t grade3 -f fira -fs 16 -cellw 90% -ofs 11 -dfs 11 -T

之后即可安装成功。
重启jupyter后界面显示图:

