For my real time graphing script, I was hunting down a bug that wasn’t allowing the matplotlib animation function.
It turns out we needed to delay in the while 1
loop to allow the animation function to fully finish.
Code can be seen at https://github.com/smaroukis/realtime-plotter/. Here is an overview: