On Monday, June 21, 2010 06:30:04 pm Eric Firing wrote:
> On 06/21/2010 06:10 AM, Matthias Michler wrote:
> > Hello list,
> > 
> > I'm encountering a strange problem with the RectangleSelector using the
> > latest version of svn. Namely it doesn't work if it wasn't initialized
> > as RS = RectangleSelector(...)
> > but using
> > RectangleSelector(...)
> > in my script.
> > 
> > I modified the example rectangle_selector.py from the folder
> > examples/widgets to illustrate my observation.
> > 
> > Can anybody reproduce my findings or even explain what is going on?
> 
> If you don't keep a reference to the RectangleSelector object, it
> vanishes--it is garbage-collected.
> 
> Eric

Hi Eric,

thanks for your reply. That sounds reasonable, but I'm still confused. With 
the matplotlib release 0.99.1.1 the RectangleSelector works with and without a 
reference to it. Was this old behavior somehow unintended?

Kind regards,
Matthias

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to