Changeset 2501cf7 in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
Apr 21, 2009 2:21:39 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:
07da749
Parents:
d902cf0
Message:

reset the color of the graph for hide and show error bar

File:
1 edited

Legend:

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

    r31482fc r2501cf7  
    292292            self.graph.delete(self.plots[self.graph.selected_plottable]) 
    293293            ## add newly created plottable to the graph with the save color 
     294            self.graph.color = color 
    294295            self.graph.add(new_plot,color) 
    295296            ## transforming the view of the new data into the same of the previous data 
     
    350351            color=self.graph.plottables[self.plots[self.graph.selected_plottable]] 
    351352            self.graph.delete(self.plots[self.graph.selected_plottable]) 
     353            self.graph.color = color 
    352354            ## add newly created plottable to the graph with the save color 
    353355            self.graph.add(new_plot, color) 
Note: See TracChangeset for help on using the changeset viewer.