def ellipse_to_mobject(self, circle_element):
    (x, y, rx, ry) = [(self.attribute_to_float(circle_element.getAttribute(key)) if circle_element.hasAttribute(key) else 0.0) for key in ('cx', 'cy', 'rx', 'ry')]
    return Circle().scale(((rx * RIGHT) + (ry * UP))).shift(((x * RIGHT) + (y * DOWN)))
def ellipse_to_mobject(self, circle_element):
    (x, y, rx, ry) = [(self.attribute_to_float(circle_element.getAttribute(key)) if circle_element.hasAttribute(key) else 0.0) for key in ('cx', 'cy', 'rx', 'ry')]
    return Circle().scale(((rx * RIGHT) + (ry * UP))).shift(((x * RIGHT) + (y * DOWN)))