problem with the PS-backend in matplotlib 0.64

Hello,

I am very sorry about this, but I messed up the PS backend shortly
before the release :frowning: While trying to move a block of code I
duplicated it instead. The consequence is, that PostScript files
generated with matplotlib 0.64 draw every bit of the figure twice.
The output is still ok, but it is generated in an inefficient way.

Luckily at least the huge PostScript fonts are only included once.

The problem can be fixed with the following patch

···

======================================================================
diff -u -r1.10 backend_ps.py
--- backend_ps.py 5 Nov 2004 11:05:14 -0000 1.10
+++ backend_ps.py 11 Nov 2004 13:08:43 -0000
@@ -585,16 +585,6 @@

         # write the figure
         print >>fh, renderer.get_ps()
- origfacecolor = self.figure.get_facecolor()
- origedgecolor = self.figure.get_edgecolor()
- self.figure.set_facecolor(facecolor)
- self.figure.set_edgecolor(edgecolor)
-
- renderer = RendererPS(width, height, fh)
- self.figure.draw(renderer)
-
- self.figure.set_facecolor(origfacecolor)
- self.figure.set_edgecolor(origedgecolor)

         # write the trailer
         print >>fh, "grestore"

Again, I am very sorry about this,
Jochen
--
http://seehuhn.de/