def getroot(self):
if '<STR_LIT:class>' in self.root.attrib:<EOL><INDENT>attrib = {'<STR_LIT:class>': self.root.attrib['<STR_LIT:class>']}<EOL><DEDENT>else:<EOL><INDENT>attrib = None<EOL><DEDENT>return GroupElement(self.root.getchildren(), attrib=attrib)<EOL>
Return the root element of the figure.

        The root element is a group of elements after stripping the toplevel
        ``<svg>`` tag.

        Returns
        -------
        GroupElement
            All elements of the figure without the ``<svg>`` tag.