Color Schemes for Jupyter Qt Console
Project description
- Author:
Joon Ro
- Contact:
- Date:
Version 0.7.1, 2016-06-28 TUE
Various color schemes for Jupyter Qt Console. It was originally for IPython Qt Console, but as of IPython 4.0, the language-agnostic parts of the project including the qtconsole have moved to new projects under the name Jupyter. Each color scheme consists of a .py file for the pygments style and a .css file for Qt Console specific color settings.
List of color schemes
My current favorites are material-light and Base16 Ocean Dark.
Installation
Thanks to Antony Lee, now the color schemes are in a module called jupyter_qtconsole_colorschemes. You can install it with pip:
0 pip install jupyter_qtconsole_colorschemes
Usage
Jupyter Qt Console
In ~/.jupyter/jupyter_qtconsole_config.py, add the following with the color scheme name you want to use (the example shown with zenburn):
0color_theme = 'zenburn' # specify color theme
12
import pkg_resources
3c.JupyterQtConsoleApp.stylesheet = pkg_resources.resource_filename(
4"jupyter_qtconsole_colorschemes", "{}.css".format(color_theme))
56
c.JupyterWidget.syntax_style = color_theme
IPython Qt Console
If you are using older version of Qt Console, then add the following to ~/.ipython/profile_default/ipython_qtconsole_config.py:
0color_theme = 'zenburn' # specify color theme
12
import pkg_resources
3c.IPythonQtConsoleApp.stylesheet = pkg_resources.resource_filename(
4"jupyter_qtconsole_colorschemes", "{}.css".format(color_theme))
56
c.IPythonWidget.syntax_style = color_theme
License
Released under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for jupyter_qtconsole_colorschemes-0.7.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687b5f059bc3b7c0489fe8ced04fc61843ad2f359bc5cd0d64e60b7a4d432ba9 |
|
MD5 | 2fdd8145d2bce334b5db81ad898df8ae |
|
BLAKE2b-256 | 0cd4691b05755b8f9e58aaee9b24b41e776998ed68e012152f91de7d11cc488c |