summaryrefslogtreecommitdiff
path: root/lib/svg/realistic_rendering.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 20:52:28 -0400
committerGitHub <noreply@github.com>2018-08-24 20:52:28 -0400
commit1de8487849a3f8f55d126e2687d690226e657fde (patch)
tree1bd891b97f8447cb3f513d073d20cea5d4534461 /lib/svg/realistic_rendering.py
parentb3bb975401fe4971170239eea9b928ee13161398 (diff)
parent91eb98cc33602f19dddc186c034aed968e048404 (diff)
Merge pull request #288 from inkstitch/lexelby/style
fix coding style and enforce style checks in build
Diffstat (limited to 'lib/svg/realistic_rendering.py')
-rw-r--r--lib/svg/realistic_rendering.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/svg/realistic_rendering.py b/lib/svg/realistic_rendering.py
index e31534da..73da3a09 100644
--- a/lib/svg/realistic_rendering.py
+++ b/lib/svg/realistic_rendering.py
@@ -2,7 +2,7 @@ import simplepath
import math
from .units import PIXELS_PER_MM
-from ..utils import cache, Point
+from ..utils import Point
# The stitch vector path looks like this:
# _______
@@ -102,6 +102,7 @@ realistic_filter = """
</filter>
"""
+
def realistic_stitch(start, end):
"""Generate a stitch vector path given a start and end point."""