Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6516322

Browse files
committed
removed a gsave/grestore pair surrounding _draw_ps
svn path=/trunk/matplotlib/; revision=3967
1 parent 803a6dd commit 6516322

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2007-10-19 Removed a gsave/grestore pair surrounding _draw_ps, which
2+
was causing a loss graphics state info (see "EPS output
3+
problem - scatter & edgecolors" on mpl-dev, 2007-10-29)
4+
- DSD
5+
16
2007-10-15 Fixed a bug in patches.Ellipse that was broken for
27
aspect='auto'. Scale free ellipses now work properly for
38
equal and auto on Agg and PS, and they fall back on a

lib/matplotlib/backends/backend_ps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,6 @@ def _draw_ps(self, ps, gc, rgbFace, command=None):
915915
"""
916916
# local variable eliminates all repeated attribute lookups
917917
write = self._pswriter.write
918-
write('gsave\n')
919918

920919
if debugPS and command:
921920
write("% "+command+"\n")
@@ -949,7 +948,6 @@ def _draw_ps(self, ps, gc, rgbFace, command=None):
949948
write("stroke\n")
950949
if cliprect:
951950
write("grestore\n")
952-
write('grestore\n')
953951

954952
def push_gc(self, gc, store=1):
955953
"""

0 commit comments

Comments
 (0)