Color Schemes for Jupyter Qt Console
Project description
- Author:
Joon Ro
- Contact:
- Date:
Version 0.7.0, 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.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4102f0f14da7ac5a778745474451ea0ed041de1fd3c7fa49c901c4848e583e43 |
|
MD5 | a4ac52884d23150155e0f29edb3094e8 |
|
BLAKE2b-256 | 5b4f2ea93a9e2b8bf78f39981730c749bc1e3ab86c63310aed4d1554f4cf104f |