Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3424506

Browse filesBrowse 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 #3523
1 parent cca0811 commit 3424506
Copy full SHA for 3424506

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_ps.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_ps.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.