from signalyzer import Trace

trace = Trace('Signal', [-1, 0, 1])
trace **= 2
go.Figure(trace.plot(mode='lines+markers'))