Changeset f468791 in sasview for src/examples/test_text_panel.py


Ignore:
Timestamp:
Oct 24, 2013 8:40:22 AM (10 years ago)
Author:
Mathieu Doucet <doucetm@…>
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
Message:

Move plottools under sans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/test_text_panel.py

    r5777106 rf468791  
    2727 
    2828import 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  
     29from sans.plottools.PlotPanel import PlotPanel 
     30from sans.plottools.plottables import Text, Graph 
    3431 
    3532class TestPlotPanel(PlotPanel): 
     
    7774def sample_graph(): 
    7875    # Construct a simple graph 
    79  
    80     from danse.common.plottools.plottables import Text, Graph 
    8176     
    8277    T1 = Text(text='text example 1', xpos=0.2, ypos=0.2) 
     
    106101     
    107102if __name__ == "__main__": 
    108     pass 
    109103    demo_plotter(sample_graph()) 
    110104 
Note: See TracChangeset for help on using the changeset viewer.