Releases: stephane-caron/matplotlive
Releases · stephane-caron/matplotlive
v1.1.1
v1.1.0
This release adds legend
, push
and reset
convenience functions to live plots. Details in the documentation.
Added
- LivePlot: Add
legend
shorthand function LivePlot: Addpush
function- LivePlot: Add
reset
function - Sketch: Add a
reset
function
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!