Revision: 5083
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5083&view=rev
Author:   efiring
Date:     2008-04-27 18:59:05 -0700 (Sun, 27 Apr 2008)

Log Message:
-----------
Fixed bug in last commit

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/backends/backend_ps.py

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py      2008-04-28 
01:37:07 UTC (rev 5082)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_ps.py      2008-04-28 
01:59:05 UTC (rev 5083)
@@ -854,10 +854,12 @@
 
 
         if fill:
-            self.set_color(store=0, *rgbFace[:3])
             if stroke:
-                write("gsave\nfill\ngrestore\n")
+                write("gsave\n")
+                self.set_color(store=0, *rgbFace[:3])
+                write("fill\ngrestore\n")
             else:
+                self.set_color(store=0, *rgbFace[:3])
                 write("fill\n")
         if stroke:
             write("stroke\n")


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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to