Color Schemes for Jupyter Qt Console
Project description
- Author:
Joon Ro
- Contact:
- Date:
Version 0.4.1, 2015-10-14 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.
List of color schemes
Installation
Thanks to Antony Lee, now the color schemes are in a module called jupyter_qtconsole_colorschemes. First clone the repo:
git clone https://joon@bitbucket.org/joon/color-schemes-for-ipython-qt-console.git
You can cd into the directory, and install the module:
python setup.py install
If you don’t have write permission to the global site-packages directory or don’t want to install into it, then use --user= option:
python setup.py install --user
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):
import pkg_resources
c.JupyterQtConsoleApp.stylesheet = pkg_resources.resource_filename(
"jupyter_qtconsole_colorschemes", "zenburn.css")
c.JupyterWidget.syntax_style = 'zenburn'
IPython Qt Console
If you are using older version of Qt Console, then add the following to ~/.ipython/profile_default/ipython_qtconsole_config.py:
import pkg_resources
c.IPythonQtConsoleApp.stylesheet = pkg_resources.resource_filename(
"jupyter_qtconsole_colorschemes", "zenburn.css")
c.IPythonWidget.syntax_style = "zenburn"
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.4.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a212e9b6c9d59d0fe512419ae8221e0cebd3e9aaa573ecbe69d37b361a18054a |
|
MD5 | f21d6f89f880b0075afec055d66ace6e |
|
BLAKE2b-256 | e9cab14c3990f8c447e96737b2938797c86fe1211048526c22a69fb44192b05b |