Changeset 3a39c2e in sasview for src/examples/test_panel.py
- Timestamp:
- Feb 13, 2015 1: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_panel.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 Data1D39 from sas.plottools.PlotPanel import PlotPanel 40 from sas.plottools.plottables import Data1D 41 41 import sys 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,\ … … 94 94 95 95 # Panel for 1D plot 96 self.plotpanel = SA NSplotpanel(self, -1, style=wx.RAISED_BORDER)96 self.plotpanel = SASplotpanel(self, -1, style=wx.RAISED_BORDER) 97 97 98 98 # Set up the menu
Note: See TracChangeset
for help on using the changeset viewer.