安装主题:
pip install --upgrade jupyterthemes
查看可用主题:
jt -l
主要设置参数是-t 设置主题 -f 代码字体 -fs 代码字号 -cellw(占屏比或宽度) -ofs(输出段的字号) -T(显示工具栏)等等
我的设置为:
jt -t oceans16 -f fira -fs 12 -cellw 90% -ofs 10 -dfs 11 -T
效果为:
jt常用的各种命令
cl options | arg | default |
Usage | help | -h – |
List Themes | -l | – |
Theme Name to Install | -t | – |
Code Font | -f | – |
Code Font-Size | -fs | 11 |
No |