|
From: <lee...@us...> - 2009-09-07 22:29:11
|
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.
|