would limit the area of my figure where the mouse event are caught to ax1, but it's not the case. I see that even.inaxes is

picking that I'm on different part of the figure, the

print('data coords %s %f %f' % (ax, event.xdata, event.ydata))

shows different values for ax depending on where the mouse is over the figure

So I thought that I might be checking the attributes of event.inaxes to make sure I do what I need to do only when the mouse is over ax1, but it seems that all the attributes of the Axes are not passed to the _on_move() callback.

self.ax1.set_label('AX1') sets the ax1 label as expected, but if I test the event.inaxes.properties() in my _on_move(), then the label attribute is not set anymore.

Is there a way to make sure the _on_move() is fired only on a specific area of my figure?