Revision: 5309
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5309&view=rev
Author:   jdh2358
Date:     2008-05-29 13:33:07 -0700 (Thu, 29 May 2008)

Log Message:
-----------
fixed an image bug

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/image.py

Modified: trunk/matplotlib/lib/matplotlib/image.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/image.py    2008-05-29 20:29:54 UTC (rev 
5308)
+++ trunk/matplotlib/lib/matplotlib/image.py    2008-05-29 20:33:07 UTC (rev 
5309)
@@ -691,7 +691,7 @@
     grayscale images, the return array is MxN.  For RGB images, the
     return value is MxNx3.  For RGBA images the return value is MxNx4
     """
-    def toarray(im)
+    def toarray(im):
         'return a 1D array of floats'
         x_str = im.tostring('raw',im.mode,0,-1)
         x = np.fromstring(x_str,np.uint8)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

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

Reply via email to