Skip to main content

Modern Qt Matplotlib backend

Project description

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.

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

mpl_modernqt-1.5.tar.gz (179.1 kB view details)

Uploaded Source

Built Distribution

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

mpl_modernqt-1.5-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file mpl_modernqt-1.5.tar.gz.

File metadata

  • Download URL: mpl_modernqt-1.5.tar.gz
  • Upload date:
  • Size: 179.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mpl_modernqt-1.5.tar.gz
Algorithm Hash digest
SHA256 f920cba78dc44b80723a52f5f220429416154448f794b75fbc6abb15a4948367
MD5 5238c093ddc095e8f6405f8edd02835a
BLAKE2b-256 218351d303739449f22f26a8da4b36260d83168e8613194023dd2e08f4cb214d

See more details on using hashes here.

File details

Details for the file mpl_modernqt-1.5-py3-none-any.whl.

File metadata

  • Download URL: mpl_modernqt-1.5-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mpl_modernqt-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82bb93ea93a71dba271f9360192b90d69702beb8599ce70245ca12aadcc8294e
MD5 5b183341e3cbc96f120ea699b5ac5b3f
BLAKE2b-256 f63f3c4244e621a76e903867a4b2b3a7d08c5710d1a469860dbc698ee8ae5ba4

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