'Update the data displayed by this item. All arguments are optional;
for example it is allowed to update vertex positions while leaving
colors unchanged, etc.
**Arguments:**
pos                   (N,3) array of floats specifying point locations.
color                 (N,4) array of floats (0.0-1.0) or
tuple of floats specifying
a single color for the entire item.
width                 float specifying line width
antialias             enables smooth line drawing
mode                  \'lines\': Each pair of vertexes draws a single line
segment.
\'line_strip\': All vertexes are drawn as a
continuous set of line segments.'

def setData(self, **kwds):

    args = ['pos', 'color', 'width', 'mode', 'antialias']
    for k in kwds.keys():
        if (k not in args):
            raise Exception(('Invalid    keyword    argument:    %s    (allowed    arguments    are    %s)' % (k, str(args))))
    self.antialias = False
    for arg in args:
        if (arg in kwds):
            setattr(self, arg, kwds[arg])
    self.update()
