Revision: 5898 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5898&view=rev Author: astraw Date: 2008-07-27 01:17:54 +0000 (Sun, 27 Jul 2008)
Log Message: ----------- fix bug where reduce_C_function was being misapplied in hexbin() Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-07-27 00:58:51 UTC (rev 5897) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-07-27 01:17:54 UTC (rev 5898) @@ -5137,14 +5137,14 @@ for j in range(ny1): vals = lattice1[i,j] if len(vals): - lattice1[i,j] = reduce( reduce_C_function, vals ) + lattice1[i,j] = reduce_C_function( vals ) else: lattice1[i,j] = np.nan for i in range(nx2): for j in range(ny2): vals = lattice2[i,j] if len(vals): - lattice2[i,j] = reduce( reduce_C_function, vals ) + lattice2[i,j] = reduce_C_function( vals ) else: lattice2[i,j] = np.nan 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins