Changeset 58eac5d in sasview


Ignore:
Timestamp:
Nov 3, 2008 5:17:26 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:
31a5842
Parents:
b92884a
Message:

small changes

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    r978967c r58eac5d  
    33from danse.common.plottools.plottables import Data1D, Theory1D, Data2D 
    44from DataLoader.loader import Loader 
    5 class Theory2D(Data2D): 
    6     def __init__(self,image=None,err_image=None,xmin=None, 
    7                  xmax=None,ymin=None,ymax=None,zmin=None,zmax=None): 
    8         Data2D.__init__(self,image,err_image,xmin, 
    9                         xmax,ymin,ymax,zmin,zmax) 
     5 
    106def choose_data_file(parent, location=None): 
    117    path = None 
  • guiframe/local_perspectives/plotting/plotting.py

    ra8b073d r58eac5d  
    1616from danse.common.plottools.plottables import Graph,Data1D 
    1717from sans.guicomm.events import EVT_NEW_PLOT 
    18  
     18from sans.guicomm.events import StatusEvent  
    1919class PanelMenu(wx.Menu): 
    2020    plots = None 
     
    125125    def onLeftDown(self,event):  
    126126        """ left button down and ready to drag""" 
    127         from sans.guicomm.events import StatusEvent     
     127            
    128128        PlotPanel.onLeftDown(self, event) 
    129129        ax = event.inaxes 
     
    442442        self.image(self.data,self.xmin_2D,self.xmax_2D,self.ymin_2D, 
    443443                   self.ymax_2D,self.zmin_2D ,self.zmax_2D ) 
    444   
     444        wx.PostEvent(self.parent, StatusEvent(status="Image is in %s scale"%self.scale)) 
    445445       
    446446class Plugin: 
Note: See TracChangeset for help on using the changeset viewer.