Revision: 8078 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8078&view=rev Author: leejjoon Date: 2010-01-11 19:54:58 +0000 (Mon, 11 Jan 2010)
Log Message: ----------- Add add_click and pop_click methods in BlockingContourLabeler. Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/blocking_input.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2010-01-11 19:54:32 UTC (rev 8077) +++ trunk/matplotlib/CHANGELOG 2010-01-11 19:54:58 UTC (rev 8078) @@ -1,3 +1,6 @@ +2009-01-11 Add add_click and pop_click methods in + BlockingContourLabeler. -JJL + 2010-01-03 Added rcParams['axes.color_cycle'] - EF 2010-01-03 Added Pierre's qt4 formlayout editor and toolbar button - JDH Modified: trunk/matplotlib/lib/matplotlib/blocking_input.py =================================================================== --- trunk/matplotlib/lib/matplotlib/blocking_input.py 2010-01-11 19:54:32 UTC (rev 8077) +++ trunk/matplotlib/lib/matplotlib/blocking_input.py 2010-01-11 19:54:58 UTC (rev 8078) @@ -193,7 +193,7 @@ # consistent with matlab and sometimes quite useful, but will # require the user to test how many points were actually # returned before using data. - self.fig.canvas.stop_event_loop(event) + self.fig.canvas.stop_event_loop() def mouse_event_pop( self, event ): """ @@ -311,6 +311,12 @@ self.cs = cs BlockingMouseInput.__init__(self, fig=cs.ax.figure ) + def add_click(self, event): + self.button1(event) + + def pop_click(self, event, index=-1): + self.button3(event) + def button1(self,event): """ This will be called if an event involving a button other than This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins