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.

Source Distribution

jltheme-0.1.2.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jltheme-0.1.2-py2.py3-none-any.whl (3.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file jltheme-0.1.2.tar.gz.

File metadata

  • Download URL: jltheme-0.1.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jltheme-0.1.2.tar.gz
Algorithm Hash digest
SHA256 75361cbd59c835d7d71b8c9c23dd9ddf4644bf67d7e2a42afa260de7c39aa028
MD5 491b186e3549672485d4a4c34192166b
BLAKE2b-256 934074bf5546be9555b3ee8517d8ce64beae453a3aef94cca7fe13c0590a2ba0

See more details on using hashes here.

File details

Details for the file jltheme-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for jltheme-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1365c6bddf8bf133ec5735a809008ed1ca4f48a4de46a4ae8c87fe5986cef82e
MD5 935bac0758f464e2da1b9c0c1d93f228
BLAKE2b-256 ae8edfba41dd145660f8c0fdce47a83f2ec98eebf61dfa914d8b54fef55916be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page