matplotlib/matplotlib — pull request #817 by jkseppan (2012-04-06 15:00:25+00:00)
Title: If path clipping introduces MOVETO operations, change final CLOSEPOLY to LINETO

This is for issue #804: logarithmic histograms look wrong in pdf and svg, because clipping negative values introduces MOVETO operations so CLOSEPOLY draws a line to an intermediate node instead of the intended first node. Requesting review from @mdboom.