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

Skip to content

Commit 1d1d039

Browse files
committed
Simplify paths again -- the other vector backends do this to reduce file size.
1 parent 3ab2830 commit 1d1d039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def draw_path(self, gc, path, transform, rgbFace=None):
491491
clip = (rgbFace is None and gc.get_hatch_path() is None)
492492
simplify = path.should_simplify and clip
493493
path_data = self._convert_path(
494-
path, trans_and_flip, clip=clip, simplify=False)
494+
path, trans_and_flip, clip=clip, simplify=simplify)
495495

496496
attrib = {}
497497
attrib['style'] = self._get_style(gc, rgbFace)

0 commit comments

Comments
 (0)