Win下更改jupyter主题

本人环境  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

猜你喜欢

转载自www.cnblogs.com/lvpengbo/p/10804611.html