I have a function plotted using pyplot. When I move the cursor over the window, I can see the values for X and Y of the location of the cursor at the bottom-left of the window (
You can entirely customize the text that displays info about the cursor's current location:
ax = plt.gca() ax.format_coord = lambda x,y: '%10d, %10d' % (x,y)