Changeset 4bee68d in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
Apr 26, 2011 9:46:00 AM (14 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:
34b9813
Parents:
5901bb9
Message:

partly fixed saving opening project/analysis file

File:
1 edited

Legend:

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

    r52f3c98 r4bee68d  
    9494    def clear_panel(self): 
    9595        """ 
    96         """ 
    97         pass 
     96        Clear and Hide all plot panels 
     97        """ 
     98        for group_id in self.plot_panels.keys(): 
     99            panel = self.plot_panels[group_id] 
     100            panel.graph.reset() 
     101            self.hide_panel(group_id) 
     102        self.plot_panels = {}      
    98103     
    99104    def clear_panel_by_id(self, group_id): 
Note: See TracChangeset for help on using the changeset viewer.