code: def zoom_leftdown(self, event=None):
          
          self.x_lastmove, self.y_lastmove = None, None
          self.zoom_ini = (event.x, event.y, event.xdata, event.ydata)
          self.report_leftdown(event=event)
docs: leftdown event handler for zoom mode