

def onMouseUp(self, sender, x, y):
    event = DOM.eventGetCurrentEvent()
    DOM.eventPreventDefault(event)
    if (sender.selecting or self.moving):
        self.p2.x = self.getXAxis().getMouseCoordinate()
        self.p2.y = self.getYAxis().getMouseCoordinate()
        self.updateCursor()
        self.selecting = False
        self.moving = False

dataset/ETHPy150Open anandology/pyjamas/examples/gcharttestapp/GChartExample24.py GChartExample24.onMouseUp/VarMisuse@33/42 `self`->`sender`