summaryrefslogtreecommitdiff
path: root/lib/tartan/svg.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tartan/svg.py')
-rw-r--r--lib/tartan/svg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tartan/svg.py b/lib/tartan/svg.py
index 62d737c9..1fd4b3ad 100644
--- a/lib/tartan/svg.py
+++ b/lib/tartan/svg.py
@@ -70,7 +70,7 @@ class TartanSvgGroup:
# remove everything but the tartan outline
for child in parent_group.iterchildren():
if child != outline:
- parent_group.remove(child)
+ child.delete()
group = cast(Group, parent_group)
else:
group = Group()