Jupyter Notebook 设置黑色背景主题 电脑版发表于:2024/1/8 14:00 ![](https://img.tnblog.net/arcimg/hb/68c96a5d8a064daf8193c4306d793a04.png) >#Jupyter Notebook 设置黑色背景主题 [TOC] ```python # 包安装 pip install jupyterthemes -i https://mirrors.aliyun.com/pypi/simple pip install --upgrade jupyterthemes # 查看可用主题 jt -l # monokai暗背景,-f(字体) -fs(字体大小) -cellw(占屏比或宽度) -ofs(输出段的字号) -T(显示工具栏) -N(显示自己主机名) jt -t monokai -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -N ``` tn2>可以选择的主题如下: ![](https://img.tnblog.net/arcimg/hb/26ef7bf0438741b6a2ec647282f03644.png) tn2><a href="https://gitee.com/shbfeng/jupyter-themes">官网</a>,参数列表如下: ![](https://img.tnblog.net/arcimg/hb/b933e23953ce4583962037266694e304.png) tn2>执行完成后(看着舒服多了),如下图所示: ![](https://img.tnblog.net/arcimg/hb/b13fda3b4ba3444982992c986a6461a8.png) tn2>参考链接:https://www.cnblogs.com/tianqizhi/p/10612976.html