Python generic oscilloscope-like plotter