From 1622d01d05152bd246e2495d724595c857a402ff Mon Sep 17 00:00:00 2001 From: Andy Date: Sun, 5 Feb 2017 23:18:23 -0800 Subject: [PATCH] add note that `svg_attributes={'debug': False}` increases `disvg`/`wsvg` speed considerably. --- svgpathtools/paths2svg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/svgpathtools/paths2svg.py b/svgpathtools/paths2svg.py index a4ae48b..d09ff57 100644 --- a/svgpathtools/paths2svg.py +++ b/svgpathtools/paths2svg.py @@ -152,7 +152,9 @@ def disvg(paths=None, colors=None, paths. Note: This will override any other conflicting settings. :param svg_attributes - a dictionary of attributes for output svg. - Note: This will override any other conflicting settings. + Note 1: This will override any other conflicting settings. + Note 2: Setting `svg_attributes={'debug': False}` may result in a + significant increase in speed. NOTES: -The unit of length here is assumed to be pixels in all variables.