jltheme

Change Matplotlib rcParams to match the current JupyterLab theme.


License
MIT
Install
pip install jltheme==0.1.2

Documentation

jltheme

Change Matplotlib rcParams to match the current JupyterLab theme.

Adjusts Matplotlib axis labels, edge, face, and tick colors based upon which JupyterLab theme is in use.

Installation

pip install jltheme

Usage

The module provides one function, jltheme, which opens the JSON configuration file for JupyterLab, checks which theme is in use, and changes Matplotlib rcParams to match the current theme:

from jltheme import jltheme
jltheme()

jltheme

Version history

  • 0.1.2 Changes to README.rst (Current)
  • 0.1.1 Changes for PyPI
  • 0.1.0 Initial version