Nearly done with fractal dimension project

This commit is contained in:
Grant Sanderson
2017-01-20 09:26:14 -08:00
parent 5174d175cf
commit 27e101ebca
5 changed files with 1188 additions and 24 deletions

View File

@ -62,7 +62,7 @@ class SVGMobject(VMobject):
result.append(self.rect_to_mobject(element))
elif element.tagName == 'circle':
result.append(self.circle_to_mobject(element))
elif element.tagName == 'polygon':
elif element.tagName in ['polygon', 'polyline']:
result.append(self.polygon_to_mobject(element))
else:
warnings.warn("Unknown element type: " + element.tagName)