mlpyqtgraph
mlpyqtgraph enables matplotlib-like plotting with
pyqtgraph in existing python programs.
It relies on pqthreads to separate mlpyqtgraph's plotting functionality from the existing python program, by separating them in different Qthreads.
Checkout the documentation's introduction for more background information.
Getting started
Installation
First, install mlpyqtgraph like any other python package using pip:
pip install mlpyqtgraph
Detailed installation instructions are found in the documentation.
Usage
To use mlpyqtgraph, decorate your main function with mlpyqtgraph's plotter
decorator. This diverts the existing python program into a dedicated thread,
while using the main thread solely for plotting with pyqtgraph.
Now you can use mlpyqtgraph's plot functionalities inside your decorated function. A python program that shows a very basic plot could look like this:
import mlpyqtgraph as mpg
@mpg.plotter
def main():
""" Minimal mlpyqtgraph example """
mpg.plot(range(5), (1, 3, 2, 0, 5))
if __name__ == '__main__':
main()
Examples
Please refer to the examples for a few applications of mlpyqtgraph.
Documentation
Check out the documentation! Please note that it's currently still under construction.
Pre-commit hooks
This repository comes with pre-commit hooks. To enable the hooks issue:
uv run pre-commit install --install-hooks
License
An MIT style license applies for mlpyqtgraph, see the LICENSE file for more details.
Metadata
Release files for mlpyqtgraph 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlpyqtgraph-1.0.0.tar.gz | 24.5 kB | With provenance | Details for mlpyqtgraph-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlpyqtgraph-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mlpyqtgraph-1.0.0-py3-none-any.whl |
Total release size: 49.9 kB
Release files / mlpyqtgraph-1.0.0.tar.gz
| Download URL | mlpyqtgraph-1.0.0.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4895f25e3c4f506eeb63ff842edeca9332b222784af3492f4bd0db949002cba
|
|
BLAKE2b-256 checksum How to use checksums |
48368bcbea509e3fe0bac03dc36555f338034ec8b798635590b04b28e1bc7b13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 27, 2026.
Transparency logRelease files / mlpyqtgraph-1.0.0-py3-none-any.whl
| Download URL | mlpyqtgraph-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c2141e41e664dd430c2c14c1def37ce9aa5699debe51cda29b9c81f06890d68
|
|
BLAKE2b-256 checksum How to use checksums |
706fba798208e5d40e67dc09115ce11956d1b209dbd40eb4905da4debca62e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 27, 2026.
Transparency logSecurity for mlpyqtgraph 1.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mlpyqtgraph-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 27, 2026.
Transparency logA 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.