Revision: 7703
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7703&view=rev
Author:   leejjoon
Date:     2009-09-07 22:29:04 +0000 (Mon, 07 Sep 2009)

Log Message:
-----------
fix a bug in lib/matplotlib/bezier.py

Modified Paths:
--------------
    branches/v0_99_maint/lib/matplotlib/bezier.py

Modified: branches/v0_99_maint/lib/matplotlib/bezier.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/bezier.py       2009-09-07 20:56:27 UTC 
(rev 7702)
+++ branches/v0_99_maint/lib/matplotlib/bezier.py       2009-09-07 22:29:04 UTC 
(rev 7703)
@@ -474,7 +474,7 @@
     """
     c = p.codes
     if c is None:
-        c = np.empty(p.vertices.shape, "i")
+        c = np.empty(p.vertices.shape[:1], "i")
         c.fill(Path.LINETO)
         c[0] = Path.MOVETO
 


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to