| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,6 @@ | |||
| 1 | + 2009-01-11 Add add_click and pop_click methods in | ||
| 2 | + BlockingContourLabeler. -JJL | ||
| 3 | + | ||
| 1 | 4 | 2010-01-03 Added rcParams['axes.color_cycle'] - EF | |
| 2 | 5 | ||
| 3 | 6 | 2010-01-03 Added Pierre's qt4 formlayout editor and toolbar button - JDH | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -193,7 +193,7 @@ def mouse_event_stop( self, event ): | |||
| 193 | 193 | # consistent with matlab and sometimes quite useful, but will | |
| 194 | 194 | # require the user to test how many points were actually | |
| 195 | 195 | # returned before using data. | |
| 196 | - self.fig.canvas.stop_event_loop(event) | ||
| 196 | + self.fig.canvas.stop_event_loop() | ||
| 197 | 197 | ||
| 198 | 198 | def mouse_event_pop( self, event ): | |
| 199 | 199 | """ | |
@@ -311,6 +311,12 @@ def __init__(self,cs): | |||
| 311 | 311 | self.cs = cs | |
| 312 | 312 | BlockingMouseInput.__init__(self, fig=cs.ax.figure ) | |
| 313 | 313 | ||
| 314 | + def add_click(self, event): | ||
| 315 | + self.button1(event) | ||
| 316 | + | ||
| 317 | + def pop_click(self, event, index=-1): | ||
| 318 | + self.button3(event) | ||
| 319 | + | ||
| 314 | 320 | def button1(self,event): | |
| 315 | 321 | """ | |
| 316 | 322 | This will be called if an event involving a button other than | |
| Back | FazBrowse Home | New Git URL |
0 commit comments