|
From: <md...@us...> - 2010-08-18 16:09:25
|
Revision: 8648
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8648&view=rev
Author: mdboom
Date: 2010-08-18 16:09:19 +0000 (Wed, 18 Aug 2010)
Log Message:
-----------
Merged revisions 8647 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint
........
r8647 | mdboom | 2010-08-18 12:07:37 -0400 (Wed, 18 Aug 2010) | 2 lines
Fix bug in regular polygon handling
........
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/path.py
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8645 /trunk/matplotlib:1-7315
+ /branches/mathtex:1-7263 /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-7253 /branches/v1_0_maint:1-8647 /trunk/matplotlib:1-7315
Modified: trunk/matplotlib/lib/matplotlib/path.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/path.py 2010-08-18 16:07:37 UTC (rev 8647)
+++ trunk/matplotlib/lib/matplotlib/path.py 2010-08-18 16:09:19 UTC (rev 8648)
@@ -408,7 +408,7 @@
# "points-up"
theta += np.pi / 2.0
verts = np.concatenate((np.cos(theta), np.sin(theta)), 1)
- codes = np.empty((numVertices,))
+ codes = np.empty((numVertices + 1,))
codes[0] = cls.MOVETO
codes[1:-1] = cls.LINETO
codes[-1] = cls.CLOSEPOLY
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|