Matplotlib based real time plotting