From: Jochen V. <vo...@se...> - 2004-11-11 13:15:08
|
Hello, I am very sorry about this, but I messed up the PS backend shortly before the release :-( 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ =20 # write the figure print >>fh, renderer.get_ps() - origfacecolor =3D self.figure.get_facecolor() - origedgecolor =3D self.figure.get_edgecolor() - self.figure.set_facecolor(facecolor) - self.figure.set_edgecolor(edgecolor) - - renderer =3D RendererPS(width, height, fh) - self.figure.draw(renderer) - - self.figure.set_facecolor(origfacecolor) - self.figure.set_edgecolor(origedgecolor) =20 # write the trailer print >>fh, "grestore" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Again, I am very sorry about this, Jochen --=20 http://seehuhn.de/ |