def render(self, **kwargs):
figure = self.get_root()<EOL>assert isinstance(figure, Figure), ('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>figure.header.add_child(self.global_switches, name='<STR_LIT>')<EOL>for name, url in _default_js:<EOL><INDENT>figure.header.add_child(JavascriptLink(url), name=name)<EOL><DEDENT>for name, url in _default_css:<EOL><INDENT>figure.header.add_child(CssLink(url), name=name)<EOL><DEDENT>figure.header.add_child(Element(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT:}>'<EOL>'<STR_LIT>'), name='<STR_LIT>')<EOL>figure.header.add_child(Element(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT:}>'<EOL>'<STR_LIT>'), name='<STR_LIT>')<EOL>super(Map, self).render(**kwargs)<EOL>
Renders the HTML representation of the element.