如何将主题应用于 jupyter 实验室 [英] How to apply theme to jupyter lab

查看:36
本文介绍了如何将主题应用于 jupyter 实验室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过在 ~/.jupyter/custom/目录中放置一个 *.css 文件来应用深色主题(例如

最近在GitHub上关闭了这个issue,终于可以编辑jupyter实验室的设置了.欢呼!

我非常感谢 jupyter 团队所做的工作.谢谢大家!

I tried to apply dark theme by putting a *.css file in the ~/.jupyter/custom/ directory (like here). This changes a theme for a normal jupyter notebook. But no affect on the jupyter lab appearance. I also tried to install a theme using jupyter-theme, but alas, no changes in jupyter lab appearance.

Can someone point me to the how-to guide?

解决方案

UPDATE 02/03/2018 Now this option is already built in in the settings menu!

Recently this issue was closed on the GitHub, and finally it is possible to edit settings of the jupyter lab. Hurray!

The procedure is described in this pull request.

Just update your jupyter-lab (now it is version 0.27.0) and go to File - Settings, then select Theme tab. And type your theme name in the User Overrides and press the check-mark at the right of the string. I tried several, but only "theme": "JupyterLab Dark" seems to work. Enough for me.

I really appreciate the work the jupyter team is doing. Thank you all!

这篇关于如何将主题应用于 jupyter 实验室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆