Chris,

I appologize for cryptic language and quickly written emails leading you astray. I've included the diff of backend_cocoaagg.py (which has also been sent to the mpl devs) which seems to work for me.

Barry

Attachment: backend_cocoaagg.py.diff
Description: Binary data


On Dec 3, 2007, at 8:00 PM, Chris Fonnesbeck wrote:

On Dec 3, 2007 7:34 PM, Barry Wark <[EMAIL PROTECTED]> wrote:
sorry instances of self.plotView.image

On Dec 3, 2007 3:38 PM, Chris Fonnesbeck <[EMAIL PROTECTED]> wrote:



I replaced the one instance of this that I found. I now get the following error:

In [7]: show()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)

/Users/chris/<ipython console> in <module>()

/Library/Python/2.5/site-packages/matplotlib/backends/ backend_cocoaagg.py
in show()
    44 def show():
    45     for manager in Gcf.get_all_fig_managers():
---> 46         manager.show()
    47
    48 def draw_if_interactive():

/Library/Python/2.5/site-packages/matplotlib/backends/ backend_cocoaagg.py
in show(self)
   203                 mplBundle,
   204                 False)
--> 205         NSApplication.sharedApplication().run()
   206
   207

ValueError: NSInvalidArgumentException - NSImageCell's object value
must be an NSImage.


--
Christopher J. Fonnesbeck
+ Fish & Wildlife Research Institute (FWC)
+ 727.235.5570

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to