What do you think of my FigureCanvas with delayed redrawing?


I'm writing a gtk application that uses matplotlib heavily for data visualisation, but all the time consuming redrawing of the figure canvases took away much of the usability. So I wrote a FigureCanvas that delays redraws until it hasn't seen any new resize_events for a short while. It works much more smoothly on ubuntulinux than on winxp (where many redraws slip through the seams and I'm not sure why that happens), but anyway - tell me what you think! Is this a good solution, or is there a smarter approach?


delayed_redraw_canvas_test.py (2 KB)