小编evi*_*cta的帖子

Jupyter Notebook 中的暗模式图 - Python

我正在使用 Jupyter Notebook,我目前正在使用 JupyterThemes 的深色日光主题。

我注意到我的绘图不是在黑暗模式下,文本在日光化背景上仍然是黑色且无法阅读。JupyterThemes 的自述文件建议在 ~/.ipython/profile_default/startup/startup.ipy 中创建一个 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()
Run Code Online (Sandbox Code Playgroud)

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

有什么帮助吗?我喜欢在 Jupyter Notebook 中使用暗模式,我希望有清晰的图。

python jupyter-notebook

1
推荐指数
2
解决办法
4071
查看次数

标签 统计

jupyter-notebook ×1

python ×1