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自己添加就可以了