Jorge Scandaliaris <jorgesmbox-ml@...> writes:

< snip >
> 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

Because I couldn't reproduce the problem on simple examples, and also because I
have time constraints related to my work, I decided to go on ignoring this
problem (I can always avoid resizing windows...). This afternoon, I realized
that the problem had not appeared during the whole day, but then realized that
because I was debugging some changes introduced in my code, I had been using
very small images. After switching back to normal sizes, the problem came back. 

So, I modified the lasso_demo, increasing progressively the number polygons
drawn. When I reached 100000 polygons, I was able to reproduce the problem. It's
true that this a rather large number, but in my code it happens well below this
number, maybe because I assign a different color and size to each polygon. So my
previous observation that setting different sizes triggered the problem might
not be the real picture. It seems as if I was hitting some sort of limit.

Anyone would have a clue about what could be happening, or how can I try to
debug this?

Thanks,

jorges




------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to