安装
pip install jupyterthemes
命令行
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] [-P] [-T] [-N]
[-r] [-dfonts]
jt -h
— 获取帮助jt -l
— 列出可用主题Available Themes: chesterish grade3 monokai oceans16 onedork solarizedd solarizedl
jt -t onedork
— 设置指定主题jt -r
— 重置默认主题
使用
设置好主题和其他参数后,仍运行
jupytr notebook
中间更换主题,直接刷新 notebook
页面即可。