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.0.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for matplotlive-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fed98f1a2e8f30ad740e51d0d0d01dbbffc83e579f6d4ae56e8b9a56662a470 |
|
MD5 | 91f8b7d5907df4c82bfa35ade5b5fea6 |
|
BLAKE2b-256 | 51e047d468aa33492dfba922ff383c2e3632933b59de981ef8fe24f66efb1e9a |