series()

audplot.series(truth, prediction, *, ax=None)[source]

Time series plot of truth and predicted values.

Parameters

Examples

>>> truth = [-1, 0, 1, 0, -1, 0, 1]
>>> prediction = [0, 1, 0, -1, 0, 1, 0]
>>> series(truth, prediction)
../_images/audplot-series-2.svg