Jupyter themes

通过命令行窗口或 Anaconda Prompt 窗口

1、安装 Jupyter 主题

pip install jupyterthemes

2、更新 Jupyter 主题 (可选)

pip install --upgrade jupyterthemes

3、查看可用的 Jupyter 主题

jt -l

 

4、更换 Jupyter 主题

jt -t onedork -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -T

-t 主题 -f(字体)  -fs(字体大小) -cellw(占屏比或宽度)  -ofs(输出段的字号)  -T(显示工具栏)  -T(显示自己主机名)

更改主题后 Jupyter Notebook 是下面的效果:

 

 

-- 恢复 Jupyter 默认风格

jt -r

 

 

5、各种主题风格

chestersih

1

jt -t chesterish -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

grade3

1

jt -t grade3 -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

gruvobxd

1

jt -t gruvboxd -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

gruvboxl

1

jt -t gruvboxl -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

monokai

1

jt -t monokai -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

oceans16

1

jt -t oceans16 -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

onedork

1

jt -t onedork -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

solarizedd

1

jt -t solarizedd -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

solarizedl

1

jt -t solarizedl -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T

 

 

 

posted @   Classmate_Zhang  阅读(37)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示