Revision: 8640 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8640&view=rev Author: mdboom Date: 2010-08-17 13:04:56 +0000 (Tue, 17 Aug 2010)
Log Message: ----------- Fix failing test_simplification:test_hatch test. Modified Paths: -------------- branches/v1_0_maint/lib/matplotlib/path.py Modified: branches/v1_0_maint/lib/matplotlib/path.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/path.py 2010-08-16 19:59:07 UTC (rev 8639) +++ branches/v1_0_maint/lib/matplotlib/path.py 2010-08-17 13:04:56 UTC (rev 8640) @@ -439,7 +439,7 @@ r = np.ones(ns2 + 1) r[1::2] = innerCircle verts = np.vstack((r*np.cos(theta), r*np.sin(theta))).transpose() - codes = np.empty((ns2,)) + codes = np.empty((ns2 + 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. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins