def append(self, element):
try:<EOL><INDENT>self.root.append(element.root)<EOL><DEDENT>except AttributeError:<EOL><INDENT>self.root.append(GroupElement(element).root)<EOL><DEDENT>
Append new element to the SVG figure