I created a simple scatter plot and a service routine to print out the coordinates of the points I pick with the cursor (based on the demo). It works until I select the pan or zoom cursor. After I zoom or pan, I can no longer get back to the normal cursor which allows me to “pick” a circle. Even clicking “home” doesn’t help.
The code is shown below
from matplotlib import figure,pyplot
from numpy import linspace,sin,take
ax1=fig.add_subplot(1,1,1) # (numRows, numCols, plotNum)
ind = event.ind
print ‘onpick1 scatter:’, ind, take(y1, ind), take(y2,
this is based on the demo at
537 Park Av.
Long Beach, CA, 90814
(562) 712 8682 cell