Re: [matplotlib-devel] Multiple redraws in qt4 backend

2010-09-07 Thread Darren Dale
On Tue, Sep 7, 2010 at 10:09 AM, John Porter wrote: > I was checking the performance of the GtkAgg and Qt4Agg backends and noticed > that the Qt4Agg backend calls canvas.draw 3 times for every pylab.show() > The three calls are: > backend_qt4.py::65 >   manager.window.show()->resizeEvent->draw > b

[matplotlib-devel] Multiple redraws in qt4 backend

2010-09-07 Thread John Porter
I was checking the performance of the GtkAgg and Qt4Agg backends and noticed that the Qt4Agg backend calls canvas.draw 3 times for every pylab.show() The three calls are: backend_qt4.py::65 manager.window.show()->resizeEvent->draw backend_qt4.py::71 figManager.canvas.draw() backend_qtagg4.py