Skip to content

v1.0.0

Choose a tag to compare

@stephane-caron stephane-caron released this 06 Aug 13:38
· 41 commits to main since this release
9403d6a

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!