Hi Stan, On Fri, Jun 13, 2008 at 2:09 PM, Stan West wrote: > For what it's worth, the WX backend isn't working for me with wxPython > 2.8.4; I get the following when I attempt to show a figure: > > File "C:\Program > Files\Python25\lib\site-packages\matplotlib-0.98.0_r5467-py2.5-win32.egg\mat > plotlib\backends\backend_wx.py", line 474, in select > self.SelectObject(self.bitmap) > AttributeError: GraphicsContextWx instance has no attribute 'SelectObject' > > I'm at wxPython 2.8.4 simply because it is included with the Enthought > Python Distribution that I picked for getting started with Python. > > However, I don't normally use the WX backend. I've been using WXAgg, so WX > is relevant for me only for the functionality inherited by WXAgg.
Please upgrade wxPython to the latest release (2.8.7.1) from here: http://www.wxpython.org/download.php#binaries Or use the very latest pre-release: http://wxpython.wxcommunity.com/preview/20080608 This will (probably) fix the problem you see with wx.GraphicsContext, although I know next to nothing about matplotlib internal handling of wxPython things. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users