Changeset c4172272 in sasview for guiframe


Ignore:
Timestamp:
Nov 19, 2008 10:09:59 AM (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:
b710eb7
Parents:
81812d9
Message:

data instead of image

File:
1 edited

Legend:

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

    r35d1092 rc4172272  
    9393        if event.plot.name in self.plots.keys(): 
    9494            # Check whether the class of plottable changed 
    95             print "panel1D ",event.plot.__class_ 
    96             print "event panel 1d",self.plots[event.plot.name].__class__ 
     95            #print "panel1D ",event.plot.__class_ 
     96            #print "event panel 1d",self.plots[event.plot.name].__class__ 
    9797            if not event.plot.__class__==self.plots[event.plot.name].__class__: 
    9898                self.graph.delete(self.plots[event.plot.name]) 
     
    544544        # Create a new plot panel if none was available         
    545545        if not is_available: 
    546             if not hasattr(event.plot,'image'): 
     546            if not hasattr(event.plot,'data'): 
    547547                new_panel = View1DPanel1D(self.parent, -1, style=wx.RAISED_BORDER) 
    548548            else: 
Note: See TracChangeset for help on using the changeset viewer.