Hi all,
I am plotting a dot plot of x vs y like the example below:

import numpy as np

import matplotlib.pyplot as plt


a = np.random.random(750)

b = np.random.random(750)


fig = plt.figure()

ax = fig.add_subplot(111)

ax.plot(a, b, 'ro')

plt.show()

I have 750 points  and would like to be able to get information about the origin of the point via a mouseover. I know I could plot labels  but with so many points it's going to be messy. I've tried to use the mpldatacursor as a solution  and this works well if you want to get the x,y coords of the point, but it doesn't give me a value I can use to easily pinpoint the values plotted (for example the position in the numpy array). Is it possible to get the position in the array (other than by plotting labels?) via a mouseover?