天天看点

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即可