def plot_sum_data(sum_data): pdata = numpy.array(sum_data, dtype=numpy.int16) pylab.figure() pylab.plot(pdata) pylab.grid(True) pylab.show()