jupyter notebook主题
作者的GitHub地址:https://github.com/dunovank/jupyter-themes
个人觉得这款比较好看oceans16
pip3 install --upgrade jupyterthemes 安装
jt -l 获取主题名称
jt -t 主题名称 -T -N 更改主题,第一次得重启才生效
jt -t oceans16 -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -N
jt -r 恢复为默认主题
修改css和js
centos7下可用find -name custom命令找到jupyter notebook样式文件在哪
find -name custom
./usr/local/lib/python3.6/site-packages/notebook/static/custom
然后用浏览器查看自己要更改的地方,在custom.css文件修改即可
要加载js文件的话可以考虑修改page.html里面的内容,同样用find找page.html的目录
/usr/local/lib/python3.6/site-packages/notebook/templates/
然后要加什么js自己添加就可以了