def METHOD_NAME(self, index):
    """
    Callback for min/max editing. This controls the auto flags that allow for the compute limits to display.
    """
    # Determine the object
    qobject = [self.RangeMinimum, self.RangeMaximum][index]
    # Extract the text in the edit box
    text = qobject.text()
    # Empty: Display the limits in grey
    if (self._auto[index] == True) and (not self._axes.has_data()):
        qobject.setText('')
    elif (text == '') or (self._auto[index] == True):
        self.set('set_{}lim', auto=True)
        lim = self.get('get_{}lim')
        qobject.setText(str(lim[index]))
        qobject.setStyleSheet('color:#8C8C8C')
        self._auto[index] = True
    else:
        try:
            key = "{}{}".format(self._name, ["min", "max"][index])
            num = float(text)
            options = {key:num}
            self.set('set_{}lim', **options)
            self._auto[index] = False
        except:
            qobject.setStyleSheet('color:#ff0000')
    self.axesModified.emit()