|
From: <md...@us...> - 2007-09-11 12:46:32
|
Revision: 3829
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3829&view=rev
Author: mdboom
Date: 2007-09-11 05:46:27 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
Fix bug in PDF clip routine that resulted in the cryptic error message
"There are too many arguments" in Adobe Acrobat.
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 2007-09-10 20:55:29 UTC (rev 3828)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2007-09-11 12:46:27 UTC (rev 3829)
@@ -1833,7 +1833,7 @@
cmds.extend(self.pop())
# Unless we hit the right one, set the clip polygon
if (self._cliprect, self._clippath) != (cliprect, clippath):
- cmds.append(self.push())
+ cmds.extend(self.push())
if self._cliprect != cliprect:
cmds.extend([t for t in cliprect] +
[Op.rectangle, Op.clip, Op.endpath])
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|