Revision: 4957
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4957&view=rev
Author:   efiring
Date:     2008-02-12 18:31:45 -0800 (Tue, 12 Feb 2008)

Log Message:
-----------
Fix bug in pcolorfast with single argument

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

Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py     2008-02-13 02:10:23 UTC (rev 
4956)
+++ trunk/matplotlib/lib/matplotlib/axes.py     2008-02-13 02:31:45 UTC (rev 
4957)
@@ -5020,8 +5020,8 @@
         nr, nc = C.shape
         if len(args) == 1:
             style = "image"
-            x = [0, nc+1]
-            y = [0, nr+1]
+            x = [0, nc]
+            y = [0, nr]
         elif len(args) == 3:
             x, y = args[:2]
             x = npy.asarray(x)


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