Changeset 3a39c2e in sasview for src/examples/test_panel2D.py
- Timestamp:
- Feb 13, 2015 3:53:03 AM (9 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:
- 8c9ffde
- Parents:
- 79492222
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/test_panel2D.py
rf468791 r3a39c2e 1 1 """ 2 2 Test application that uses plottools 3 This application uses most of the functionality required by the SA NS group3 This application uses most of the functionality required by the SAS group 4 4 and should be treated as a test-case representative of that use. 5 5 … … 37 37 """ 38 38 import wx 39 from sa ns.plottools.PlotPanel import PlotPanel40 from sa ns.plottools.plottables import Data1D, Theory1D, Data2D39 from sas.plottools.PlotPanel import PlotPanel 40 from sas.plottools.plottables import Data1D, Theory1D, Data2D 41 41 import sys,os 42 42 import numpy … … 44 44 45 45 46 class SA NSplotpanel(PlotPanel):46 class SASplotpanel(PlotPanel): 47 47 48 48 def __init__(self, parent, id = -1, color = None,\ … … 136 136 137 137 # Panel for 1D plot 138 self.plotpanel = SA NSplotpanel(self, -1, style=wx.RAISED_BORDER)138 self.plotpanel = SASplotpanel(self, -1, style=wx.RAISED_BORDER) 139 139 140 140 # Set up the menu … … 200 200 path = dlg.GetPath() 201 201 mypath = os.path.basename(path) 202 from sa ns.dataloader.loader import Loader202 from sas.dataloader.loader import Loader 203 203 204 204 #Instantiate a loader
Note: See TracChangeset
for help on using the changeset viewer.