|
From: <jd...@us...> - 2008-05-25 13:00:52
|
Revision: 5259
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5259&view=rev
Author: jdh2358
Date: 2008-05-25 06:00:49 -0700 (Sun, 25 May 2008)
Log Message:
-----------
fixed a npy np mixup in image
Modified Paths:
--------------
branches/v0_91_maint/lib/matplotlib/image.py
Modified: branches/v0_91_maint/lib/matplotlib/image.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/image.py 2008-05-25 12:51:50 UTC (rev 5258)
+++ branches/v0_91_maint/lib/matplotlib/image.py 2008-05-25 13:00:49 UTC (rev 5259)
@@ -648,6 +648,6 @@
raise RuntimeError('Unknown image mode')
x_str = im.tostring('raw',im.mode,0,-1)
- x = np.fromstring(x_str,np.uint8)
+ x = npy.fromstring(x_str,npy.uint8)
x.shape = im.size[1], im.size[0], 4
return x
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|