- Timestamp:
- Mar 27, 2009 3:23:49 PM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/local_perspectives/plotting/plotting.py
r6c0568b rca94880 121 121 # Create a new plot panel if none was available 122 122 if not is_available: 123 print"event.plot",hasattr(event.plot,'data') 123 124 if not hasattr(event.plot,'data'): 124 125 from Plotter1D import ModelPanel1D … … 137 138 new_panel = ModelPanel1D(self.parent, -1,xtransform=xtransform, 138 139 ytransform=ytransform, style=wx.RAISED_BORDER) 140 139 141 else: 140 142 ##Create a new plotpanel for 2D data 141 143 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) 143 145 144 146 ## Set group ID if available
Note: See TracChangeset
for help on using the changeset viewer.