From: matthew a. <ma...@ca...> - 2004-11-16 01:02:18
|
Well it works now. For other reasons I downgraded to 0.63 and upgraded again to 0.64. As part of this I found I had to manually wipe not only Python23/Lib/site-packagaes/matplotlib but also Python23/share/matplotlib to avoid errors (e.g. an ImportError: cannot import artist from Artist). But now I don't need that workaround to avoid the IMAGE_FORMAT error. examples/embedding_in_gtk2.py works fine too, after patching in the toolbar = NavigationToolbar(canvas, win) API change. I'm sorry for the confusion. Cheers, Matthew. On Wed, 10 Nov 2004, Steve Chaplin wrote: > On Tue, 2004-11-09 at 12:24, matthew arnison wrote: > > 2. I was getting errors that the > > matplotlib.backends.backend_mod.IMAGE_FORMAT attribute was not > > found, during toolbar initialization. I put in a workaround. > > Is this happening when using the classes directly rather than using the > matlab interface? Are you doing something similar to the example > "embedding_in_gtk2.py" - that works OK for me. > Could you provide a minimal example to demonstrate this. > > Steve |