def __init__(self, width, on, off, color=None):
    self.width = width
    self.on = on
    self.off = off
    self.color = color
If anything needs to be converted prior to dumping to xml
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/graphy/line_chart.py/LineStyle.__init__--crossover with--dataset/ETHPy150Open RobotLocomotion/director/src/python/urdf_parser_py/xml_reflection/core.py/Object.pre_write_xml