Changeset 1ee5ac6 in sasmodels for example/fit.py


Ignore:
Timestamp:
Mar 4, 2018 8:42:49 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
bc248f8
Parents:
6cbdcd4
Message:

example/fit.py: py3 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • example/fit.py

    rf4b36fa r1ee5ac6  
    179179 
    180180else: 
    181     print "No parameters for %s"%name 
     181    print("No parameters for %s"%name) 
    182182    sys.exit(1) 
    183183 
     
    192192else: 
    193193   problem = FitProblem(M) 
     194 
     195if __name__ == "__main__": 
     196   problem.plot() 
     197   import pylab; pylab.show() 
Note: See TracChangeset for help on using the changeset viewer.