I'm having some regression issues with 0.99.1.1 compared to 0.98.5.3 in 
"blocking_input.py".

I'm using pylab.clabel(...,manual=True) expecting my figure to ask me to 
input the locations of the contour labels. All was fine in 0.98.5.3, it 
does not seem to work with 0.99.1.1.

After some investigations I found:

1. With rev 7591, the button1, button2, and button3 methods in the 
BlockingMouseInput class have been renamed to mouse_event_add, 
mouse_event_stop, and mouse_event_stop. To date, these changes have not 
been made to BlockingContourLabeler which still has the button1 and 
button2 method that are in charge of actually adding and removing the 
new labels, and that are never called.
Replacing button1 by mouse_event_add and button3 by mouse_event_pop 
seems to return the "manually add contour label" functionality.

2. After that change, I get a crash on mouse_button_stop in 
BlockingMouseInput on line 196:
TypeError: stop_event_loop() takes exactly 1 argument (2 given)
After confirmation from the docuemntation that stoip_event_loop() should 
indeed not take any argument I would fix line 196 with:
  < self.fig.canvas.stop_event_loop(event)
  > self.fig.canvas.stop_event_loop()

-Julien

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to