Revision: 6079
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6079&view=rev
Author:   mdboom
Date:     2008-09-10 15:28:55 +0000 (Wed, 10 Sep 2008)

Log Message:
-----------
Fix numpy namespace (thanks Evan Mason)

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

Modified: trunk/matplotlib/lib/matplotlib/transforms.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/transforms.py       2008-09-10 12:33:33 UTC 
(rev 6078)
+++ trunk/matplotlib/lib/matplotlib/transforms.py       2008-09-10 15:28:55 UTC 
(rev 6079)
@@ -599,7 +599,7 @@
         dx1 = np.sign(vertices[:, 0] - x1)
         dy1 = np.sign(vertices[:, 1] - y1)
         inside = (abs(dx0 + dx1) + abs(dy0 + dy1)) <= 2
-        return N.sum(inside)
+        return np.sum(inside)
 
     def count_overlaps(self, bboxes):
         """


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

Reply via email to