def METHOD_NAME(self):
    """Handle X limits changed from the GUI."""
    xMin, xMax = self._xMinFloatEdit.value(), self._xMaxFloatEdit.value()
    if xMax < xMin:
        xMin, xMax = xMax, xMin
    self.plot.getXAxis().setLimits(xMin, xMax)