更换jupyter notebook 主题
程序员文章站
2022-05-25 14:22:44
...
最近一直在学习python,用了一周jupyter notebook 后眼睛特别难受,所以查了网上所有的资料,踩了很多坑,以下是我更换jupyter notebook 主题的步骤,希望对大家有用。(我是通过网络搜索更换的,如有问题请谅解,或者也可以看哈github上的有关方法:
https://github.com/dunovank/jupyter-themes )
在git界面上检查更新pip版本(如果是最新版本,便不用更),输入以下命令先卸载旧版本
pip uninstall pip
然后再用以下命令安装新版pip
easy_install pip
pip 更新完后按下面步骤来做:
1.将jupyterthemes 下载到git bash
git clone https://github.com/dunovank/jupyter-themes
2.安装jupyterthemes
# install jupyterthemes
pip install jupyterthemes
# upgrade to latest version
pip install --upgrade jupyterthemes
3.选择主题(我选的是onedork)
jt -l
Available Themes:
chesterish
grade3
gruvboxd
gruvboxl
monokai
oceans16
onedork
solarizedd
solarizedl
# select theme...
jt -t onedork
完成以上步骤后再重新打开jupyter notebook即可
打开后可能会出现工具栏被隐藏的问题,此时在git bash 界面输入以下命令
jt -t onedork -N -T
在这里我选的主题是onedork,完成后重新打开即可。
推荐阅读
-
vs2012界面主题怎么更换?vs2012设置黑色主题的教程
-
Gmail怎么样更换主题背景
-
vs2012界面主题怎么更换?vs2012设置黑色主题的教程
-
windows系统中Python多版本与jupyter notebook使用虚拟环境的过程
-
opera欧朋浏览器怎么更换主题皮肤?
-
windows系统下jupyter notebook使用虚拟环境
-
实用Jupyter Notebook扩展工具——提升你的工作效率
-
Jupyter Notebook使用 tqdm显示进度条(单行显示)
-
android studio怎么更换默认主题?
-
jupyter notebook中出现ValueError: signal only works in main thread 报错 即 长时间in[*] 解决办法