I am getting a recursive error with the following script. When using plot instead of semilogy, I get the desired result. Does anyone know of a workaround?
from pylab import *
class Hover(object):
def call(self, ev):
print ev.canvas.figure.hitlist(ev)
fig = plt.figure()
ax=fig.add_subplot(111)
ax.semilogy([1,5,10])
hover = Hover()
fig.canvas.mpl_connect(‘motion_notify_event’,hover)
show()