本文介绍了更改Jupyter Notebook中的主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢黑暗的主题.但是,Jupyter笔记本的默认主题是浅色,我找不到更改主题/背景颜色的选项.怎么做?

I like dark themes. However, the default theme of Jupyter notebooks is light, and I can't find the option to change the theme/background-color. How is this done?

推荐答案

使用Kyle Dunovan的jupyter-themes包很容易做到这一点.您可能可以使用conda安装它.否则,您将需要使用pip.

This is easy to do using the jupyter-themes package by Kyle Dunovan. You may be able to install it using conda. Otherwise, you will need to use pip.

使用conda安装它:

Install it with conda:

conda install jupyterthemes

或点子

pip install jupyterthemes

然后使用更改主题

jt -t chesterish

加载切斯特主题或任何其他主题.最后,重新加载页面.文档和源代码在这里: https://github.com/dunovank/jupyter-themes

To load the chesterish theme or any other. Finally, reload the page. The docs and source code are here: https://github.com/dunovank/jupyter-themes

这篇关于更改Jupyter Notebook中的主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:43