v1.0.0
The is the initial release of matplotlive, a tiny library to stream live plots from a running program:
import math
import matplotlive
plot = matplotlive.LivePlot(
timestep=0.001, # seconds
duration=1.0, # seconds
ylim=(-5.0, 5.0),
)
for i in range(10_000):
plot.send("bar", math.sin(i / 10))
plot.send("foo", 3 * math.cos(i / 100))
plot.update()This is a small tool I use often. Sharing it in the hope it helps!