Revision: 4461
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4461&view=rev
Author: efiring
Date: 2007-11-26 18:24:22 -0800 (Mon, 26 Nov 2007)
Log Message:
-----------
Fixed pcolormesh bug
Integer X input was causing Y to be turned into
an integer as well.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2007-11-26 23:08:55 UTC (rev
4460)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2007-11-27 02:24:22 UTC (rev
4461)
@@ -4728,7 +4728,7 @@
X = X.ravel()
Y = Y.ravel()
- coords = npy.zeros(((Nx * Ny), 2), X.dtype)
+ coords = npy.zeros(((Nx * Ny), 2), dtype=float)
coords[:, 0] = X
coords[:, 1] = Y
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 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins