Changeset f5cce4a in sasview for plottools/src


Ignore:
Timestamp:
Feb 7, 2013 3:12:22 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

a bit additions for workshop

Location:
plottools/src/danse/common/plottools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plottools/src/danse/common/plottools/PlotPanel.py

    rc080e542 rf5cce4a  
    275275        # let canvas know about axes 
    276276        self.canvas.set_panel(self) 
    277          
     277        self.ly = None 
     278        self.q_ctrl = None 
    278279        #Bind focus to change the border color 
    279280        self.canvas.Bind(wx.EVT_SET_FOCUS, self.on_set_focus) 
     
    453454         
    454455        """ 
     456        self.cusor_line(event) 
    455457        if self.gotLegend == 1: 
    456458            self._on_legend_motion(event) 
     
    479481            else:  # no dragging is perform elsewhere 
    480482                self._dragHelper(0, 0) 
     483 
     484    def cusor_line(self, event): 
     485        """ 
     486        """ 
     487        pass 
    481488 
    482489    def _offset_graph(self): 
     
    17741781        if remove_fit: 
    17751782            self.graph.delete(self.fit_result) 
    1776              
     1783        self.ly = None  
     1784        self.q_ctrl = None    
    17771785        list = [] 
    17781786        list = self.graph.returnPlottable() 
  • plottools/src/danse/common/plottools/binder.py

    r10bfeb3 rf5cce4a  
    289289                x, y = transform.inverse_xy_tup((x, y)) 
    290290 
    291             event.xdata, event.ydata = x, y 
     291            #event.xdata, event.ydata = x, y 
    292292            self.trigger(self._hasclick, 'drag', event) 
    293293        else: 
Note: See TracChangeset for help on using the changeset viewer.