修改Jupyter Notebook的默认字体
程序员文章站
2024-01-05 23:39:40
...
修改Jupyter Notebook的默认字体
真是受够了Jupyter Notebook的默认字体。。。。
步骤:
找到Jupyter notebook的安装路径:(ENVS_NAME为环境的name)
*:\Anaconda3\envs\ENVS_NAME\Lib\site-packages\notebook\static\components\codemirror\lib
修改codemirror.css文件:
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 300px;
color: black;
direction: ltr;
}
修改为:
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: 修改的字体名称, monospace;
height: 300px;
color: black;
direction: ltr;
}