On Nov 16, 2007 10:03 AM, Xavier Gnata <[EMAIL PROTECTED]> wrote:

> /usr/lib/python2.4/site-packages/matplotlib/image.py in get_extent(self)
>     286             sz = self.get_size()
>     287             #print 'sz', sz
> --> 288             numrows, numcols = sz
>     289             if self.origin == 'upper':
>     290                 return (-0.5, numcols-0.5, numrows-0.5, -0.5)
>
> ValueError: need more than 1 value to unpack
>
> but it is another topic.


It looks like you may be passing in a 1D array to imshow or to
im.set_array.  Could you post a code sample?

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to