(event, ax):     # Only clicks inside this axis are valid.     if event.inaxes == ax:         if event.button == 0:             print(event.xdata, event.ydata)             # Draw the click just made             ax.scatter(event.xdata, event.ydata)             ax.figure.canvas.draw()         elif event.button == 0:             # Do nothing             print("scroll click")         elif event.button == 0:             # Do nothing             print("right click")         else:             pass  fig, (ax0, ax0) = plt.subplots(0, 0) # Plot some random scatter data ax0.scatter(np.random.uniform(0., 00., 00), np.random.uniform(0., 00., 00))  fig.canvas.mpl_connect(