Hi all,

I was trying matplotlib 0.98.0 and Qt4 backend works great but Coca
backend seems to be broken :

Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy import lena
>>> import matplotlib
>>> matplotlib.use("CocoaAgg")
>>> import pylab
>>> pylab.imshow(lena())
<matplotlib.image.AxesImage object at 0x2ac0a10>
>>> pylab.show()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-i386.egg/matplotlib/backends/backend_cocoaagg.py",
line 46, in show
    manager.show()
  File 
"/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-i386.egg/matplotlib/backends/backend_cocoaagg.py",
line 205, in show
    NSApplication.sharedApplication().run()
  File 
"/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-i386.egg/matplotlib/backends/backend_cocoaagg.py",
line 181, in startWithBundle_
    if not bundle.loadNibFile_externalNameTable_withZone_('Matplotlib.nib',
{}, None):
  File 
"/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-i386.egg/matplotlib/backends/backend_cocoaagg.py",
line 88, in awakeFromNib
    self.plotView.windowDidResize_(self)
  File 
"/Library/Python/2.5/site-packages/matplotlib-0.98.0-py2.5-macosx-10.3-i386.egg/matplotlib/backends/backend_cocoaagg.py",
line 137, in windowDidResize_
    dpi = self.canvas.figure.dpi.get()
AttributeError: 'int' object has no attribute 'get'
>>>

Any ideas?

Regards,
ismail



-- 
Never learn by your mistakes, if you do you may never dare to try again.

-------------------------------------------------------------------------
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

Reply via email to