def addData (self, name, *data):
        group = Group (id = name)
        pointGroup = Group (className = 'point-group')
        path = None
        if self.seriesLength > len (data):
            self.seriesLength = len (data)
        for i, val in enumerate (data):
            if val is None: 
                continue
            if not path:
                path = Path ()
                path.move (i, val)
            else:
                path.line (i, val)
            c = Circle (radius = 2, x = i, y = val)
            pointGroup.draw (c)
        if path:
            path.style.fill = 'none'
            group.draw (path)
        if len (pointGroup) > 0:
            group.draw (pointGroup)
            self.data.draw (group)
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/canvas.py/LineCanvas.addData/swapped operands of `>`