Changeset 7bb61da in sasview for guiframe


Ignore:
Timestamp:
Jun 27, 2008 1:13:53 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
9a23253e
Parents:
3c42667
Message:

Making sure new plottables are added with the right scale.

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/dummyapp.py

    r41d466f r7bb61da  
    1414        self.gui = ViewApp(0) 
    1515         
     16        # Build the GUI 
     17        self.gui.build_gui() 
     18         
    1619        # Set the application manager for the GUI 
    1720        self.gui.set_manager(self) 
  • guiframe/local_perspectives/plotting/plotting.py

    rfc2b91a r7bb61da  
    9898        #if event.plot._yunit != self.graph.prop["yunit"]: 
    9999        self.graph.yaxis(event.plot._yaxis, event.plot._yunit) 
     100       
     101        # Set the view scale for all plots 
     102        self._onEVT_FUNC_PROPERTY() 
    100103       
    101104        self.graph.render(self) 
Note: See TracChangeset for help on using the changeset viewer.