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.
Qt5andQt6support.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpl_modernqt-1.6.tar.gz.
File metadata
- Download URL: mpl_modernqt-1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08eb10aff5c8107377af5f9eaf1b6c5e9c91687465e4826a3c92613d1f42ccf1
|
|
| MD5 |
26ce28f5d5bb2ce3814dd1756ba17122
|
|
| BLAKE2b-256 |
8762c1ebd1527ac30943b35bcaf1f4699823f8d0223516d208cfc9304b05ad35
|
File details
Details for the file mpl_modernqt-1.6-py3-none-any.whl.
File metadata
- Download URL: mpl_modernqt-1.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bb655631d40567a98a7e04660e073d1e9a004055fecef3c1b6b11c4a5721f4c
|
|
| MD5 |
d27fd4a62aa0ff23079e2f535c56d1b7
|
|
| BLAKE2b-256 |
47cbd0816491bd04b588e399bc404b3cbf2016e22c9437504b249c5d25d85b57
|