如何将 colab 深色主题引入 Jupyter Notebook

Pra*_*thi 3 themes jupyter-notebook google-colaboratory

我想知道当我们切换到暗模式时 google colab 使用什么主题,以及如何为 jupyter notebook 安装它。

mao*_*o95 5

首先,您必须安装 Jupyter 主题:

pip install jupyterthemes
Run Code Online (Sandbox Code Playgroud)

然后,我认为 Colab 使用主题“onedork”,因此只需使用以下方法设置它:

jt -t onedork
Run Code Online (Sandbox Code Playgroud)

有关 Jupyter 主题的更多信息,您可以查看https://github.com/dunovank/jupyter-themes