def METHOD_NAME(self):
    if hasattr(self, "_x_image"):
        del self._x_image
    if hasattr(self, "_y_image"):
        del self._y_image
    if hasattr(self, "_x_image_add"):
        del self._x_image_add
    if hasattr(self, "_y_image_add"):
        del self._y_image_add
    if hasattr(self, "_x_source"):
        del self._x_source
    if hasattr(self, "_y_source"):
        del self._y_source