|
From: Mads I. <mp...@os...> - 2006-03-21 19:51:11
|
Dear Matplotlib-users, I have now been struggling with getting matplotlib integrated into a PyQt based GUI environment. The example embedding_in_qt.py which comes with the source distribution, has been my starting point. The problem is that in my own applications, matplotlib has to serve the purpose of showing animated data; and for some reason, I cannot squeeze more than 10-15 FPS out of the example. The QTimer in the example is set to 10 ms, so this is not the problem. If I implement a simple, and of course, much more simplistic 2D window in 'raw' PyQt, this easily gives 95 FPS with 1000 datapoints. Any suggestions and feedbacks on how to approach this problem are more than welcome. Best regards, Mads Ipsen |