from signalyzer import Trace

signal = Trace(samples=range(4))
go.Figure(signal.plot())