Changeset f468791 in sasview for src/examples/test_text_panel.py
- Timestamp:
- Oct 24, 2013 8:40:22 AM (11 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:
- 1f8eecb
- Parents:
- a9d5684
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/test_text_panel.py
r5777106 rf468791 27 27 28 28 import wx 29 from danse.common.plottools.PlotPanel import PlotPanel 30 from danse.common.plottools.plottables import Plottable, Graph, Data1D, Theory1D 31 import sys 32 import numpy 33 29 from sans.plottools.PlotPanel import PlotPanel 30 from sans.plottools.plottables import Text, Graph 34 31 35 32 class TestPlotPanel(PlotPanel): … … 77 74 def sample_graph(): 78 75 # Construct a simple graph 79 80 from danse.common.plottools.plottables import Text, Graph81 76 82 77 T1 = Text(text='text example 1', xpos=0.2, ypos=0.2) … … 106 101 107 102 if __name__ == "__main__": 108 pass109 103 demo_plotter(sample_graph()) 110 104
Note: See TracChangeset
for help on using the changeset viewer.