'Set the pen used to draw the isocurve. Arguments can be any that are valid
for :func:`mkPen <pyqtgraph.mkPen>`'

def setPen(self, *args, **kwargs):

    self.pen = fn.mkPen(*args, **kwargs)
    self.update()
