一、进入 cmd 安装 jupterthemes
# pip 安装 jupyterthemes
pip install jupyterthemes
#或者使用 conda 安装 jupyterthemes
conda install -c conda-forge jupyterthemes
二、 jt 命令的使用
jt命令有许多选项可以用于更改主题,字体等,用法如下:
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]
下面来看下这些选项的意义与其默认参数
这里就把官网上的说明搬过来了,应该不用翻译吧
三、一些常用选项和参数设置
1. 查看可用的主题
jupyterthemes 提供了7个可用主题,分别是onedork, grade3, oceans16, chesterish, monokai,