天天看點

Jupyter Notebook 更換主題(背景、字型)

Jupyter Notebook 更換主題(背景、字型)

怎麼安裝Jupyter Notebook主題皮膚并設定教程

  1. 安裝 Jupyter 主題:

    pip install jupyterthemes

  2. 更新 Jupyter 主題 (可選):

    pip install --upgrade jupyterthemes

  3. 檢視可用的 Jupyter 主題:

    jt -l

  4. 更換 Jupyter 主題:

    jt -t chesterish -f fira -fs 10 -cellw 92% -ofs 9 -dfs 9 -tfs 11 -T -kl

-t 主題 -f(字型) -fs(字型大小) -cellw(占屏比或寬度) -ofs(輸出段的字号) -T(顯示工具欄) -T(顯示自己主機名)
  1. 重新開機jupyter notebook即可