Revision: 6068
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6068&view=rev
Author:   mdboom
Date:     2008-09-05 13:15:20 +0000 (Fri, 05 Sep 2008)

Log Message:
-----------
Fix hatching in Postscript backend.

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

Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG  2008-09-05 03:23:30 UTC (rev 6067)
+++ trunk/matplotlib/CHANGELOG  2008-09-05 13:15:20 UTC (rev 6068)
@@ -1,3 +1,5 @@
+2008-09-05 Fix hatching in PS backend - MGD
+
 2008-09-03 Fix log with base 2 - MGD
 
 2008-09-01 Added support for bilinear interpolation in

Modified: trunk/matplotlib/lib/matplotlib/backends/backend_ps.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_ps.py      2008-09-05 
03:23:30 UTC (rev 6067)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_ps.py      2008-09-05 
13:15:20 UTC (rev 6068)
@@ -800,10 +800,6 @@
         write(ps.strip())
         write("\n")
 
-        hatch = gc.get_hatch()
-        if hatch:
-            self.set_hatch(hatch)
-
         if fill:
             if stroke:
                 write("gsave\n")
@@ -812,6 +808,11 @@
             else:
                 self.set_color(store=0, *rgbFace[:3])
                 write("fill\n")
+
+        hatch = gc.get_hatch()
+        if hatch:
+            self.set_hatch(hatch)
+
         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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to