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 hashes)
Built Distribution
Close
Hashes for matplotlive-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346f97d1ad7f5dd814af5a8d0ef8623a2fd1cf2375c654f8003c6f439154d50a |
|
MD5 | 2b8f77ec99acbbc5fcdfb18cb9f47052 |
|
BLAKE2b-256 | 2cafd49ba4a9b498e1955c9226f7de9261d99b6b51275a36a992cdb64dad983c |