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

Skip to content

Commit 660dc47

Browse files
committed
BUG : fix eps corruption when using clipping
_get_clip_path was returning '<built-in function id>' instead of the ps-function name like it should have been. This was introduced in 9b9c0c6 in PR #2927. Closes #3528
1 parent cca0811 commit 660dc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def _get_clip_path(self, clippath, clippath_transform):
568568
ps_cmd.extend(['clip', 'newpath', '} bind def\n'])
569569
self._pswriter.write('\n'.join(ps_cmd))
570570
self._clip_paths[key] = pid
571-
return id
571+
return pid
572572

573573
def draw_path(self, gc, path, transform, rgbFace=None):
574574
"""

0 commit comments

Comments
 (0)