Changeset 58eac5d in sasview for guiframe/local_perspectives


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.