On 11/21/10 9:43 AM, Gael Varoquaux wrote:
Yes, I can confirm that adding processEvents in places to facilitate
redraws is a good way to lead to segfaults. I have seen this in many
places other than matplotlib. The reason Tk does not have this problem is
that it deals with event loops in a
Hi all,
Following a discussion with a Spyder user regarding simple animations
with Matplotlib, I took a very quick look at the Qt4's backend source
code to see if it was possible to make the following code work (which
is working with the TkAgg backend but not the Qt4 backend):
On Sun, Nov 21, 2010 at 10:36 AM, Pierre Raybaut
pierre.rayb...@gmail.com wrote:
Hi all,
Following a discussion with a Spyder user regarding simple animations
with Matplotlib, I took a very quick look at the Qt4's backend source
code to see if it was possible to make the following code work
On Sun, Nov 21, 2010 at 11:58:42AM -0500, Darren Dale wrote:
Apparently, to make it work with the Qt4 backend, one simply has to add:
QtGui.QApplication.processEvents()
to the method 'FigureCanvasQt.draw_idle'
(matplotlib/backends/backend_qt4.py).
, discussion of why processEvents was