本人环境 Win+Conda
开始使用 pip 安装, 发现无法使用 pip, 修改环境变量, 将 D:\Program Files\Conda\Scripts 加入 Path 中
再次使用 pip, 报错无 SSL, 网上查找发现需将 D:\Program Files\Conda\pkgs\openssl-1.1.1b-he774522_1\Library\bin 加入路径中,
最后使用 pip install --upgrade jupyterthemes, 安装 themes 成功
此时可以在 cmd 里面调用已经安装好的 themes 啦~
jt -l
就会返回所有你安装好的主题的名词列表, 这样你就知道了你安装了哪些主题.
- jt [-h] [-l] [-t THEME] [-f MONOFONT] [-fs MONOSIZE] [-nf NBFONT]
- [-nfs NBFONTSIZE] [-tf TCFONT] [-tfs TCFONTSIZE] [-dfs DFFONTSIZE]
- [-m MARGINS] [-cursw CURSORWIDTH] [-cursc CURSORCOLOR] [-VIM]
- [-cellw CELLWIDTH] [-lineh LINEHEIGHT] [-altp] [-altmd] [-altout]
- [-P] [-T] [-N] [-r] [-dfonts]
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 | -- |
https://github.com/dunovank/jupyter-themes
来源: http://www.bubuko.com/infodetail-3045006.html