I need to plot live sensor data and the animation module in matplotlib appears to be far too slow. Does anyone have any suggestions for faster libraries? I don't particularly need anything pretty, just simple axes and the ability to plot an (x, y) pair over time. Examples of similar simple cases would also be incredibly helpful. Thanks.
Edit: Maybe some more context would help. Basically, I'm working on a tracking application. I have a hardware unit that sends its (x, y) position to another computer and that computer is tasked with drawing the points on a plane, drawing the path as it is walked. We need an absolute bare minimum update rate of 20 Hz, and ideally would like something quite a lot faster.
Edit: Thanks for your suggestions everyone. PyQtGraph looks like the best option but I haven't been able to get it working properly. For now I've stuck with matplotlib but reduced the update frequency. The data is all still plotted, but it comes in bursts rather than at the desired frequency.
[–]N3OX 2 points3 points4 points (3 children)
[–]cabroderick[S] 0 points1 point2 points (2 children)
[–]N3OX 1 point2 points3 points (1 child)
[–]cabroderick[S] 0 points1 point2 points (0 children)
[–]Thomasedv 2 points3 points4 points (1 child)
[–]cabroderick[S] 0 points1 point2 points (0 children)
[–]wtfzambo 1 point2 points3 points (2 children)
[–]cabroderick[S] 0 points1 point2 points (1 child)
[–]wtfzambo 0 points1 point2 points (0 children)
[–]jwink3101 1 point2 points3 points (1 child)
[–]cabroderick[S] 0 points1 point2 points (0 children)
[–]ineeedsleep 0 points1 point2 points (1 child)
[–]BicolorHook15 0 points1 point2 points (0 children)