Skip to main content

mpl-modernqt

A modern looking backend for Matplotlib based on the official Qt backend. Its main features are:

  • Phosphor Icons (monochromatic) thanks to the QtAwesome package.
  • Modern theme with the PyQtDarkTheme package.
  • Qt5 and Qt6 support.

Installation

Using pip, the official Python package manager...

On GNU/Linux and MacOS execute the following order in a terminal:

pip install mpl-modernqt -U

On MS Windows you may prefer:

python -m pip install mpl-modernqt -U

Usage

from matplotlib import use

use('module://mpl_modernqt.backend')

Example code

import numpy as np
from matplotlib import use
import matplotlib.pyplot as plt

use('module://mpl_modernqt.backend')

x = np.linspace(0, 7, 300)
y = np.sin(x)

plt.plot(x, y)
plt.show()

License

This project uses the MIT license.

Metadata

Release files for mpl-modernqt 1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpl-modernqt 1.6
File Size Uploaded Provenance Actions
mpl_modernqt-1.6.tar.gz 179.1 kB Without provenance Details for mpl_modernqt-1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpl-modernqt 1.6
File Interpreter ABI Platform Actions
mpl_modernqt-1.6-py3-none-any.whl Python 3 none any Details for mpl_modernqt-1.6-py3-none-any.whl

Total release size: 234.7 kB

Release files / mpl_modernqt-1.6.tar.gz

Download URL mpl_modernqt-1.6.tar.gz
Size 179.1 kB
Tags Source
SHA-256 checksum
How to use checksums
08eb10aff5c8107377af5f9eaf1b6c5e9c91687465e4826a3c92613d1f42ccf1
BLAKE2b-256 checksum
How to use checksums
8762c1ebd1527ac30943b35bcaf1f4699823f8d0223516d208cfc9304b05ad35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / mpl_modernqt-1.6-py3-none-any.whl

Download URL mpl_modernqt-1.6-py3-none-any.whl
Size 55.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bb655631d40567a98a7e04660e073d1e9a004055fecef3c1b6b11c4a5721f4c
BLAKE2b-256 checksum
How to use checksums
47cbd0816491bd04b588e399bc404b3cbf2016e22c9437504b249c5d25d85b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for mpl-modernqt 1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page