uplot-python
Python wrapper for μPlot 📈
Installation
From PyPI
pip install uplot-python
Usage
The plot function has the same API as µPlot's uPlot.plot:
import numpy as np
import uplot
t = np.linspace(0.0, 1.0, 10)
data = [t, np.exp(0.42 * t)]
opts = {
"width": 1920,
"height": 600,
"title": "Example with plot",
"series": [{}, { "stroke": "red", }, ],
}
uplot.plot(opts, data)
For convenience, the library also provides a plot2 function with additional defaults aimed at time series and line plots, for an experience closer to matplotlib.pyplot.plot:
import numpy as np
import uplot
t = np.linspace(0.0, 1.0, 10)
uplot.plot2(
t,
[np.exp(0.1 * t), np.exp(-10.0 * t), np.cos(t)],
title="Example with plot2",
left_labels=["exp(A t)", "exp(-B t)", "cos(t)"],
)
See also
- µPlot: A small (~45 KB min), fast chart for time series, lines, areas, ohlc & bars.
- foxplot: Plot time series from MessagePack or line-delimited JSON.
- Matplotlib: Comprehensive library for creating static, animated, and interactive visualizations.
- matplotlive: Stream live plots to a Matplotlib figure.
Metadata
Release files for uplot-python 1.1.1
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 |
|---|---|---|---|---|
| uplot_python-1.1.1.tar.gz | 86.7 kB | Without provenance | Details for uplot_python-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uplot_python-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for uplot_python-1.1.1-py3-none-any.whl |
Total release size: 135.5 kB
Release files / uplot_python-1.1.1.tar.gz
| Download URL | uplot_python-1.1.1.tar.gz |
|---|---|
| Size | 86.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baa996be76451fdebfa17128db1d4ef87b523e951a1e8d2bd3e8413e517cf6e0
|
|
BLAKE2b-256 checksum How to use checksums |
c20cd89db87305339960796bca4c73893b7bc1330d2990b26d86fafa87647a46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.4
|
Release files / uplot_python-1.1.1-py3-none-any.whl
| Download URL | uplot_python-1.1.1-py3-none-any.whl |
|---|---|
| Size | 48.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07c96cc34ff9107c3751fc31dfad48ccd6e86c6deebb8b41d7ec7d9811722208
|
|
BLAKE2b-256 checksum How to use checksums |
c6a6e97480a62662fe9fb0b63dc9ee0bbc4c44c0d7eb9b324a408728dd481549
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.4
|
Security for uplot-python 1.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.