Ignore:
Timestamp:
Feb 16, 2009 6:53:18 PM (15 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:
f69bc394
Parents:
8f274b11
Message:

status bar changed—-removed error from data remove

File:
1 edited

Legend:

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

    r9a585d0 rdd66fbd  
    226226                #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 
    227227                wx.EVT_MENU(self, id, self._on_add_errors) 
    228             elif self.plots[self.graph.selected_plottable].__class__.__name__=="Data1D": 
    229                 id = wx.NewId() 
    230                 slicerpop.Append(id, '&Remove errors From data') 
    231                 #print "panel scale before  ",self.xLabel, self.yLabel 
    232                 #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 
    233                 wx.EVT_MENU(self, id, self._on_remove_errors) 
     228                """ 
     229                elif self.plots[self.graph.selected_plottable].__class__.__name__=="Data1D": 
     230                    id = wx.NewId() 
     231                    slicerpop.Append(id, '&Remove errors From data') 
     232                    #print "panel scale before  ",self.xLabel, self.yLabel 
     233                    #print "cyllinder before adding error", self.plots[self.graph.selected_plottable].x 
     234                    wx.EVT_MENU(self, id, self._on_remove_errors) 
     235                """ 
    234236            else: 
    235237                id = wx.NewId() 
     
    285287            self.graph.delete_plottable(self.plots[self.graph.selected_plottable]) 
    286288             
    287             self.graph.add_plottable(new_plot,color) 
     289            self.graph.add(new_plot,color) 
    288290            # transforming the view of the new data into the same of the previous data 
    289291            self._onEVT_FUNC_PROPERTY() 
     
    332334            new_plot.yaxis(label, unit) 
    333335            #print "panel scale ",self.xLabel, self.yLabel 
    334             color=self.graph.plottables[self.plots[self.graph.selected_plottable]] 
     336            #color=self.graph.plottables[self.plots[self.graph.selected_plottable]] 
    335337            self.graph.delete_plottable(self.plots[self.graph.selected_plottable]) 
    336             self.graph.add_plottable(new_plot, color) 
    337             #self.graph.add(new_plot) 
     338            #self.graph.add_plottable(new_plot, color) 
     339            self.graph.add(new_plot) 
    338340            # transforming the view of the new data into the same of the previous data 
    339341            self._onEVT_FUNC_PROPERTY() 
Note: See TracChangeset for help on using the changeset viewer.