Changeset 34f2857 in sasmodels


Ignore:
Timestamp:
Apr 5, 2018 12:43:09 PM (4 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:
5770493
Parents:
a21d889
Message:

sascomp: plot 2d models on separate plots when multiple parameter sets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    ra21d889 r34f2857  
    757757            print("Set %d uses -random=%i"%(k+1, new_seed)) 
    758758            np.random.seed(new_seed) 
     759            if opts['plot'] and opts['is2d']: 
     760                import matplotlib.pyplot as plt 
     761                plt.figure() 
    759762        opts['pars'] = parse_pars(opts, maxdim=maxdim) 
    760763        if opts['pars'] is None: 
Note: See TracChangeset for help on using the changeset viewer.