Color Schemes for Jupyter Qt Console
Project description
- Author:
Joon Ro
- Contact:
- Date:
Version 0.6.0, 2015-11-04 WED
Various color schemes for Jupyter Qt Console. It was originally for IPython Qt Console, but as of IPython 4.0, the qtconsole have moved to new project 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
Installation
Thanks to Antony Lee, now the color schemes are in a module called jupyter_qtconsole_colorschemes. You can install it with pip:
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):
color_theme = 'zenburn' # specify color theme
import pkg_resources
c.JupyterQtConsoleApp.stylesheet = pkg_resources.resource_filename(
"jupyter_qtconsole_colorschemes", "{}.css".format(color_theme))
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:
color_theme = 'zenburn' # specify color theme
import pkg_resources
c.IPythonQtConsoleApp.stylesheet = pkg_resources.resource_filename(
"jupyter_qtconsole_colorschemes", "{}.css".format(color_theme))
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.6.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6742211dfb2f35ebbfb83c9197c05bdbf398c51fc8567e5506270160ec1f027b |
|
MD5 | 1f2e7473d9e14aa20df229ff0c28cfbb |
|
BLAKE2b-256 | 76d13ff2ef9f6061403c955b56032dd49965b1706f5fbfd16920610f8bf8507e |