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

Skip to content

Commit 1732cb5

Browse files
committed
Fix problem with 0-line width drawing in Postscript. (Thanks Ben North).
svn path=/trunk/matplotlib/; revision=4391
1 parent 74ff857 commit 1732cb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/matplotlib/backends/backend_ps.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,9 @@ def _draw_ps(self, ps, gc, rgbFace, command=None):
947947

948948
if self.linewidth > 0:
949949
write("stroke\n")
950+
else:
951+
write("newpath\n")
952+
950953
if cliprect:
951954
write("grestore\n")
952955

0 commit comments

Comments
 (0)