Skip to main content

Change Matplotlib rcParams to match the current JupyterLab theme.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
jltheme-0.1.2-py2.py3-none-any.whl (3.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
jltheme-0.1.2.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page