部分内容转载自:
作者: 湫兮
出处:https://www.cnblogs.com/qiuxirufeng/p/9609031.html
1 安装 jupyterthemes 插件
pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com --no-dependencies jupyterthemes==0.18.2
2 安装 lesscpy
pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com lesscpy
3 对主题选择、字体大小进行设置
目前选择的是,不过部分是有关联性,不能调整
jt -t oceans16 -f fira -fs 12 -cellw 96% -ofs 12 -dfs 12 -T
参数:
cl options arg default
Usage help -h –
List Themes -l –
Theme Name to Install -t –
Code Font -f –
Code Font-Size -fs 11
Notebook Font -nf –
Notebook Font Size -nfs 13
Text/MD Cell Font -tf –
Text/MD Cell Fontsize -tfs 13
Pandas DF Fontsize -dfs 9
Output Area Fontsize -ofs 8.5
Mathjax Fontsize (%) -mathfs 100
Intro Page Margins -m auto
Cell Width -cellw 980
Line Height -lineh 170
Cursor Width -cursw 2
Cursor Color -cursc –
Alt Prompt Layout -altp –
Alt Markdown BG Color -altmd –
Alt Output BG Color -altout –
Style Vim NBExt* -vim –
Toolbar Visible -T –
Name & Logo Visible -N –
Kernel Logo Visible -kl –
Reset Default Theme -r –
Force Default Fonts -dfonts –