如何将主题应用于Jupyter Lab [英] How to apply theme to jupyter lab

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

问题描述

我试图通过将* .css文件放在〜/.jupyter/custom/目录中来应用深色主题(例如

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?

推荐答案

更新 2018年2月3日 现在,此选项已内置在设置菜单中!

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

最近,此问题已在GitHub上关闭,最后可以编辑jupyter实验室的设置.欢呼!

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.

只需更新您的jupyter-lab(现在是0.27.0版),然后转到文件"-设置",然后选择主题"选项卡.然后在用户替代"中键入您的主题名称,然后按字符串右侧的复选标记.我尝试了几种,但只有主题":"JupyterLab Dark"似乎有效.对我来说足够了.

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.

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

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

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

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