程序员的资源宝库

网站首页 > gitee 正文

jupyter notebook 设置主题(jupyter theme)

sanyeah 2024-04-01 11:46:41 gitee 5 ℃ 0 评论

打开cmd窗口命令行:

1 pip install jupyterthemes

查看有哪些主题可用

1 jt -l

 -t:设置主题

-f:设置代码字体

-fs:设置代码字体大小

-cellw:设置单元格宽度

-ofs:输出结果的字体大小

-dfs:pandas的DF字体大小

-T:设置工具栏可见

-N:设置.ipynb的名字可见

以下是我的主题设置参数

 1 jt -t grade3 -f meslo -fs 14 -cellw 90% -ofs 12 -dfs 12 -T -T -N

还有其它的代码字体参数

 1 anka
 2 anonymous
 3 aurulent
 4 bitstream
 5 bpmono
 6 code
 7 consolamono
 8 cousine
 9 dejavu
10 droidmono
11 fira
12 firacode
13 generic
14 hack
15 hasklig
16 inconsolata
17 inputmono
18 iosevka
19 liberation
20 meslo
21 office
22 oxygen
23 roboto
24 saxmono
25 source
26 sourcemed
27 ptmono
28 ubuntu

 

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表