Changeset ca94880 in sasview for guiframe/local_perspectives


Ignore:
Timestamp:
Mar 27, 2009 3:23:49 PM (16 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:
ecd74a1
Parents:
15550f4
Message:

working on tiff reader and plotter

File:
1 edited

Legend:

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

    r6c0568b rca94880  
    121121        # Create a new plot panel if none was available         
    122122        if not is_available: 
     123            print"event.plot",hasattr(event.plot,'data') 
    123124            if not hasattr(event.plot,'data'): 
    124125                from Plotter1D import ModelPanel1D 
     
    137138                new_panel = ModelPanel1D(self.parent, -1,xtransform=xtransform, 
    138139                                         ytransform=ytransform, style=wx.RAISED_BORDER) 
     140 
    139141            else: 
    140142                ##Create a new plotpanel for 2D data 
    141143                from Plotter2D import ModelPanel2D 
    142                 new_panel = ModelPanel2D(self.parent, -1, data2d=event.plot,style=wx.RAISED_BORDER) 
     144                new_panel = ModelPanel2D(self.parent, id = -1, data2d=event.plot,style=wx.RAISED_BORDER) 
    143145             
    144146            ## Set group ID if available 
Note: See TracChangeset for help on using the changeset viewer.