Skip to content

Commit e3cab21

Browse files
committed
Merged revisions 8640 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8640 | mdboom | 2010-08-17 09:04:56 -0400 (Tue, 17 Aug 2010) | 2 lines Fix failing test_simplification:test_hatch test. ........ svn path=/trunk/matplotlib/; revision=8641
1 parent f285706 commit e3cab21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/path.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def unit_regular_star(cls, numVertices, innerCircle=0.5):
439439
r = np.ones(ns2 + 1)
440440
r[1::2] = innerCircle
441441
verts = np.vstack((r*np.cos(theta), r*np.sin(theta))).transpose()
442-
codes = np.empty((ns2,))
442+
codes = np.empty((ns2 + 1,))
443443
codes[0] = cls.MOVETO
444444
codes[1:-1] = cls.LINETO
445445
codes[-1] = cls.CLOSEPOLY

0 commit comments

Comments
 (0)