From: <md...@us...> - 2008-09-09 12:33:07
|
Revision: 6075 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6075&view=rev Author: mdboom Date: 2008-09-09 12:33:03 +0000 (Tue, 09 Sep 2008) Log Message: ----------- Fix small bug with quad curves in PDF backend. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py Modified: trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2008-09-07 11:28:45 UTC (rev 6074) +++ trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2008-09-09 12:33:03 UTC (rev 6075) @@ -1106,7 +1106,7 @@ cmds.append(Op.lineto) elif code == Path.CURVE3: points = quad2cubic(*(list(last_points[-2:]) + list(points))) - cmds.extend(points) + cmds.extend(points[2:]) cmds.append(Op.curveto) elif code == Path.CURVE4: cmds.extend(points) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |