https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint
........
r8636 | mdboom | 2010-08-16 15:56:27 -0400 (Mon, 16 Aug 2010) | 4 lines
Add explicit "CLOSEPOLY" codes to unit_rectangle, unit_polygon,
unit_star and unit_asterisk. Not doing so causes the strokes to have
the wrong end cap at the beginning/end point.
........