Jupyter笔记本电脑Python中的暗模式图

2024-09-30 01:20:45 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用的是Jupyter笔记本电脑,目前我使用的是JupyterThemes的深色日光主题。在

我注意到我的情节不是在黑暗模式下,文本仍然是黑色的,在日光照射的背景下无法阅读。JupyterThemes的自述文件建议创建一个启动.ipy在~/.ipython/profile\u default/startup中/启动.ipy还有写作

# import jtplot submodule from jupyterthemes
from jupyterthemes import jtplot

# currently installed theme will be used to
# set plot style if no arguments provided
jtplot.style()

我创建了这个文件,但没有任何改变。我也尝试过遵循这个指南(https://medium.com/@rbmsingh/making-jupyter-dark-mode-great-5adaedd814db),但我的图还是没有改变。在

有什么帮助吗?我喜欢在Jupyter笔记本中使用暗模式,我希望有清晰的情节。在


Tags: from文本import主题style模式jupyter笔记本电脑

热门问题