- Timestamp:
- Feb 7, 2013 3:12:22 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 131576f
- Parents:
- bca2cb9
- Location:
- plottools/src/danse/common/plottools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
rc080e542 rf5cce4a 275 275 # let canvas know about axes 276 276 self.canvas.set_panel(self) 277 277 self.ly = None 278 self.q_ctrl = None 278 279 #Bind focus to change the border color 279 280 self.canvas.Bind(wx.EVT_SET_FOCUS, self.on_set_focus) … … 453 454 454 455 """ 456 self.cusor_line(event) 455 457 if self.gotLegend == 1: 456 458 self._on_legend_motion(event) … … 479 481 else: # no dragging is perform elsewhere 480 482 self._dragHelper(0, 0) 483 484 def cusor_line(self, event): 485 """ 486 """ 487 pass 481 488 482 489 def _offset_graph(self): … … 1774 1781 if remove_fit: 1775 1782 self.graph.delete(self.fit_result) 1776 1783 self.ly = None 1784 self.q_ctrl = None 1777 1785 list = [] 1778 1786 list = self.graph.returnPlottable() -
plottools/src/danse/common/plottools/binder.py
r10bfeb3 rf5cce4a 289 289 x, y = transform.inverse_xy_tup((x, y)) 290 290 291 event.xdata, event.ydata = x, y291 #event.xdata, event.ydata = x, y 292 292 self.trigger(self._hasclick, 'drag', event) 293 293 else:
Note: See TracChangeset
for help on using the changeset viewer.