

def contains(self, data_x, data_y):
    (width, height) = self.get_scaled_wdht()
    (x2, y2) = ((self.x + width), (self.y + height))
    if ((self.x <= data_x < x2) and (self.y <= y2 < y2)):
        return True
    return False

dataset/ETHPy150Open ejeschke/ginga/ginga/canvas/types/image.py Image.contains/VarMisuse@67/77 `data_y`->`y2`