Traceback (most recent call last): File "_:\svg_histogram.py", line 146, in css = tree.getchildren()[0][0] ^^^^^^^^^^^^^^^^ AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'