View Full Version : PyQt Widget in Viz World

05-17-2012, 07:21 AM
Currently in our Vizard application we are drawing .png charts in Matplotlib and placing the images onto multiple Viz textures (resembling walls to a room) using texture.setImageData, but we are finding Matplotlib to be a bit bulky and slow and we are looking for a more interactive approach. I ran across PyQtGraph and it appears to be a great light-weight and fast alternative to Matplotlib, but unfortunately I am having difficulty in getting the chart into my Vizard world. The charts are drawn on a QtGui.Widget and look amazing, but I am not sure how to go about getting a few of these widgets into my Vizard scene and then still having the charts update dynamically. Any thoughts on this would be greatly appreciated, especially if this is impossible and I should stop trying.

Please find the PyQtGraph library and my sample charting application at this link.