Changeset 50cbace in sasview


Ignore:
Timestamp:
Jan 22, 2009 2:31:02 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
89032bf
Parents:
9c648c7
Message:

fixing 1 bug on plot2D model

Location:
guiframe/local_perspectives/plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/local_perspectives/plotting/Plotter2D.py

    r54cc36a r50cbace  
    8787        #self.Bind(boxSum.EVT_SLICER_PARS_UPDATE, self._onEVT_SLICER_PARS) 
    8888        self.Bind(EVT_SLICER_PARS_UPDATE, self._onEVT_SLICER_PARS) 
    89          
    90          
     89   
    9190    def _onEVT_SLICER_PARS(self, event): 
    9291        print "box move plotter2D", event.type, event.params 
     
    104103            @param event: data event 
    105104        """ 
     105               
     106        self.data2D= event.plot 
     107        self.data =event.plot.data 
    106108        #TODO: Check for existence of plot attribute 
    107109 
     
    340342        new_plot.name = "Circ avg "+ self.data2D.name 
    341343        new_plot.source=self.data2D.source 
    342         new_plot.info=self.data2D.info 
     344        #new_plot.info=self.data2D.info 
    343345        new_plot.interactive = True 
    344346        #print "loader output.detector",output.source 
  • guiframe/local_perspectives/plotting/plotting.py

    r54cc36a r50cbace  
    107107                        and event.plot.group_id==panel.group_id: 
    108108                        is_available = True 
     109                         
     110                         
    109111                        panel._onEVT_1DREPLOT(event) 
    110112                        self.parent.show_panel(panel.uid) 
     113                        print "went here for replottiing", event.plot.name 
     114                         
    111115                else: 
    112116                    # Check that the plot panel has no group ID 
Note: See TracChangeset for help on using the changeset viewer.