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.3.tar.gz (144.3 kB view details)

Uploaded Source

Built Distribution

mpl_modernqt-1.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mpl_modernqt-1.3.tar.gz
  • Upload date:
  • Size: 144.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for mpl_modernqt-1.3.tar.gz
Algorithm Hash digest
SHA256 625ea7ccd31f4acde4c2b3b936c7d503b3ca0680d362529d9084e6b407bb0fb9
MD5 1c7e0abc574418c1bfe89cc2dc107f69
BLAKE2b-256 be842ed53b8b9ea8648c232ef5460967102643e32fa10426a4dcebe5d379dd4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpl_modernqt-1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for mpl_modernqt-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c68e7c2863bb9741c3b04686921a7f7aa6c427daf7e6551c9fc560f594a365f5
MD5 fd3b103db4ac6052727cd1802df37c80
BLAKE2b-256 8ac2525537815595fc4bb28c4e73502b60b0d96f4984d7c0188c2c689e3f4971

See more details on using hashes here.

Supported by

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