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.4.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.4-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mpl_modernqt-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d774db27192724b747de09c81db07cb4e70156d1501b6ee8a827933ddad16f34
MD5 bd8e34dae3ff1d398653d790f6877310
BLAKE2b-256 09f4f4bfd9eb07b243adb15b01b849a2e367336e7e9f2fd8f705c70428e70381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpl_modernqt-1.4-py3-none-any.whl
  • Upload date:
  • Size: 55.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85a37d02fd305792f5e42893054007e7f3bc341069a54856dca19744eca5c1f5
MD5 0402003b9f7216de43a88a0afac06ddf
BLAKE2b-256 f930e88ebd3bb72f47cd3f4d58b45dd5c694421898ff84f87403efb9b6750505

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