'Set whether automatic range uses only visible data when determining
the range to show.'

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

    if (x is not None):
        self.state['autoVisibleOnly'][0] = x
        if (x is True):
            self.state['autoVisibleOnly'][1] = False
    if (y is not None):
        self.state['autoVisibleOnly'][1] = y
        if (y is True):
            self.state['autoVisibleOnly'][0] = False
    if ((x is not None) or (y is not None)):
        self.updateAutoRange()
