'Set whether each axis is enabled for mouse interaction. *x*, *y* arguments must be True or False.
This allows the user to pan/scale one axis of the view while leaving the other axis unchanged.'

def setMouseEnabled(self, x=None, y=None):

    if (x is not None):
        self.state['mouseEnabled'][0] = x
    if (y is not None):
        self.state['mouseEnabled'][1] = y
    self.sigStateChanged.emit(self)
