def mouse_move(self, event): """ Mouse motion callback """ # update the text box with coordinates of cursor # FIXME: Make this a method if not self._zoom_pressed and event.inaxes: self.plot.on_mouse_move(event) # call the parent handler also NavigationToolbar.mouse_move(self, event)