Revision: 5018
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5018&view=rev
Author:   jouni
Date:     2008-03-23 10:44:11 -0700 (Sun, 23 Mar 2008)

Log Message:
-----------
Fix a pdf backend bug which sometimes caused the outermost
gsave to not be balanced with a grestore.

Modified Paths:
--------------
    branches/v0_91_maint/CHANGELOG
    branches/v0_91_maint/lib/matplotlib/backends/backend_pdf.py

Modified: branches/v0_91_maint/CHANGELOG
===================================================================
--- branches/v0_91_maint/CHANGELOG      2008-03-21 19:52:46 UTC (rev 5017)
+++ branches/v0_91_maint/CHANGELOG      2008-03-23 17:44:11 UTC (rev 5018)
@@ -1,3 +1,6 @@
+2008-03-23 Fix a pdf backend bug which sometimes caused the outermost
+           gsave to not be balanced with a grestore. - JKS
+
 2008-02-29 Fix class Wx toolbar pan and zoom functions (Thanks Jeff
            Peery) - MGD
 

Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_pdf.py
===================================================================
--- branches/v0_91_maint/lib/matplotlib/backends/backend_pdf.py 2008-03-21 
19:52:46 UTC (rev 5017)
+++ branches/v0_91_maint/lib/matplotlib/backends/backend_pdf.py 2008-03-23 
17:44:11 UTC (rev 5018)
@@ -1159,7 +1159,7 @@
         self.tex_font_map = None
 
     def finalize(self):
-        self.gc.finalize()
+        self.file.output(*self.gc.finalize())
 
     def check_gc(self, gc, fillcolor=None):
         orig_fill = gc._fillcolor


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to