From: Steve C. <ste...@ya...> - 2004-12-17 16:41:08
|
On Thu, 2004-12-16 at 20:21 +0300, Alexey Shamrin wrote: > Why is GTKAgg is slower than GTK, but WXAgg is faster than WX? Were you thinking that GTKAgg should be as fast or faster than GTK? In the past I think GTKAgg and GTK would do dynamic plots at about the same speed. GTK used to allocate a new gtk.gdk.Pixmap and a new RendererGTK for every figure draw operation, which was inefficient. I updated the code so GTK now creates just one RendererGTK and just one Pixmap (as long as its size does not increase). This should have made GTK dynamic plotting faster (I didn't benchmark the changes so I don't know for sure). Its possible that similar changes for GTKAgg (or TkAgg or WX) would speed up their dynamic plotting. Steve |