[matplotlib-devel] Unnecessary rerendering in wx/wxagg backends

2008-03-31 Thread Gregor Thalhammer
Dear developers, I discovered that in backend_wx.py in _onPaint(), the callback function for repainting a matplotlib figure, every time a repaint is done also the bitmap is rerendered: backend_wx.py/_onPaint(): ... # Render to the bitmap self.draw(repaint=False) ... This also affects the behav

Re: [matplotlib-devel] Unnecessary rerendering in wx/wxagg backends

2008-03-31 Thread Erik Tollerud
I tested this on 0.91.2 on Ubuntu Gutsy, and wx 2.8.7.1, and found that when I bring up a new window, I see a black canvas and it doesn't draw any of the matplotlib objects until I do something like resizing that must explicitly call a draw at some point. This may be why it's in there... perhaps s

Re: [matplotlib-devel] Unnecessary rerendering in wx/wxagg backends

2008-03-31 Thread Christopher Barker
Erik Tollerud wrote: > I tested this on 0.91.2 on Ubuntu Gutsy, and wx 2.8.7.1, and found > that when I bring up a new window, I see a black canvas and it doesn't > draw any of the matplotlib objects until I do something like resizing > that must explicitly call a draw at some point. yup, same her

Re: [matplotlib-devel] TKinter : 'module' object has no attribute 'tkinit'

2008-03-31 Thread fiacre
As it happens, the box I was working on totally borked (hardware problem). I've built a CentOS box and am running fine now --- I made a point of installing X, gtk, cairo, tcl, tk and other graphics libs before building python and matplotlib on the box. So, the problems seems to be related to t