Stream live plots to a matplotlib figure.
Project description
matplotlive
Stream live plots to a Matplotlib figure.
Example
import math
import matplotlive
plot = matplotlive.LivePlot(
timestep=0.01, # seconds
duration=1.0, # seconds
ylim=(-5.0, 5.0),
)
for i in range(10_000):
plot.send("bar", math.sin(0.3 * i))
plot.send("foo", 3 * math.cos(0.2 * i))
plot.update()
Installation
From conda-forge
conda install -c conda-forge matplotlive
From PyPI
pip install matplotlive
See also
- Teleplot: alternative to plot telemetry data from a running program.
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
matplotlive-1.1.1.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file matplotlive-1.1.1.tar.gz
.
File metadata
- Download URL: matplotlive-1.1.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 107eaeda0a9a950b3148c124212ecff895e422b8c8cdf2008d82fcf29f18522c |
|
MD5 | 9248fb0cfd3979fca0d034630e130ee8 |
|
BLAKE2b-256 | 24640c577e5ec30bc6ebf41e6e3f70eddc269d7f1720a246d9aee17112ac99e6 |
File details
Details for the file matplotlive-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: matplotlive-1.1.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346f97d1ad7f5dd814af5a8d0ef8623a2fd1cf2375c654f8003c6f439154d50a |
|
MD5 | 2b8f77ec99acbbc5fcdfb18cb9f47052 |
|
BLAKE2b-256 | 2cafd49ba4a9b498e1955c9226f7de9261d99b6b51275a36a992cdb64dad983c |