From: John H. <jd...@gm...> - 2008-11-26 18:04:19
|
On Wed, Nov 26, 2008 at 11:57 AM, Egor Zindy <ez...@gm...> wrote: > thank you, I'll have to check out the repository to see how I can use the > changes. > > Just a thought: a figure_leave / figure_enter event could be triggered by > comparing the currently held axis with event.inaxes (that's what Slider and > my bar widget do in _update() ). That's exactly how its done. The problem I referred to above (which will not affect your use case since you are leaving the axes) occurs when you want to connect to a figure leave event and move your mouse to a non-mpl window. Then we get no events to compare to the prior. JDH |