|
From: Jorge S. <jor...@ya...> - 2011-02-05 18:38:27
|
Jorge Scandaliaris <jorgesmbox-ml@...> writes: < snip > > > The symptoms are that > the interaction (keys and mouse clicks) works OK as long as I don't resize the > window. Once I do this, the interaction is gone. What happens when the window > is > resized, that could be related to what I experience. > > OK, lets see if I can come up with a simple code reproducing this... > I couldn't come up with a simple example showing the problem. My attempts so far ended in working examples. I did find a change in my code that triggers the problem: My code uses a modified version of the lasso_demo example, contains two axes, where I draw an image with imshow and a collection of circles with scatter. Originally scatter was called with a fixed size for all points, and I just changed it so each points gets a different size. Just don't ask me why this seemingly innocent change affects (breaks) the event handling. I hope somebody can give me some hints. I'll keep checking the code to see if I find anything suspicious. jorges |