def METHOD_NAME(self, function):
    """
    Helper method for calling get methods containing 'x' or 'y' (e.g., "get_xlim")
    """
    func = getattr(self._axes, function.format(self._name))
    return func()