Revision: 5428
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5428&view=rev
Author:   efiring
Date:     2008-06-08 20:34:24 -0700 (Sun, 08 Jun 2008)

Log Message:
-----------
Fix bug in imshow, introduced in r5042, found by A. Straw

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

Modified: trunk/matplotlib/lib/matplotlib/image.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/image.py    2008-06-09 00:01:14 UTC (rev 
5427)
+++ trunk/matplotlib/lib/matplotlib/image.py    2008-06-09 03:34:24 UTC (rev 
5428)
@@ -170,7 +170,7 @@
 
         if self._imcache is None:
             if self._A.dtype == np.uint8 and len(self._A.shape) == 3:
-                im = _image.frombyte(self._A[xslice,yslice,:], 0)
+                im = _image.frombyte(self._A[yslice,xslice,:], 0)
                 im.is_grayscale = False
             else:
                 if self._rgbacache is None:


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

-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to