jupyter notebook&lab 主題更換
2022-07-22 00:52 作者:今晚復(fù)習(xí)到幾點(diǎn) | 我要投稿
jupyter notebook主題更換
https://github.com/dunovank/jupyter-themes/blob/master/README.md
# install jupyterthemes 第一步安裝主題包用pip或者conda?
方法一:打開anaconda prompt 輸入命令

方法二:輸入命令 : conda install -c conda-forge jupyterthemes
#選擇主題
輸入命令: jt -l
會顯示可選主題名稱:
onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd
輸入命令:?jt -t oceans16 -T -N?
使用oceans16的皮膚,隨后輸入jupyter notebook打開主題就變成了oceans16其他同理
同時還可以設(shè)置字體大小等,具體可以閱讀GitHub的描述

jupyter notebook 和jupyter lab 的主題并不通用,所以隨著主流變成jupyter lab 下面介紹jupyter lab的主題,目前只有明暗兩個主題可選
jupyter lab 主題更換
打開anaconda prompt
分別鍵入命令:
pip install jupyterlab_legos_ui

pip install jupyterlab_darkside_ui

然后打開jupyterlab 之后直接在菜單欄的setting里面設(shè)置theme

標(biāo)簽: