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

Skip to content

Commit 33c0375

Browse files
committed
Merged revisions 7772 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_99_maint ........ r7772 | mdboom | 2009-09-17 10:17:48 -0400 (Thu, 17 Sep 2009) | 2 lines Fix clip path in SVG backend. ........ svn path=/trunk/matplotlib/; revision=7773
1 parent 1057427 commit 33c0375

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/matplotlib/backends/backend_svg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def _get_gc_clip_svg(self, gc):
165165
cliprect = gc.get_clip_rectangle()
166166
clippath, clippath_trans = gc.get_clip_path()
167167
if clippath is not None:
168+
clippath_trans = self._make_flip_transform(clippath_trans)
168169
path_data = self._convert_path(clippath, clippath_trans)
169170
path = '<path d="%s"/>' % path_data
170171
elif cliprect is not None:

0 commit comments

Comments
 (0)