Skip to content

Commit

Permalink
Fix problem with 0-line width drawing in Postscript. (Thanks Ben North).
Browse files Browse the repository at this point in the history
svn path=/trunk/matplotlib/; revision=4391
  • Loading branch information
mdboom committed Nov 20, 2007
1 parent 74ff857 commit 1732cb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/matplotlib/backends/backend_ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,9 @@ def _draw_ps(self, ps, gc, rgbFace, command=None):

if self.linewidth > 0:
write("stroke\n")
else:
write("newpath\n")

if cliprect:
write("grestore\n")

Expand Down

0 comments on commit 1732cb5

Please sign in to comment.