Changeset 0c24a82 in sasmodels


Ignore:
Timestamp:
Jul 27, 2016 5:42:00 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
6351bfa
Parents:
739aad4
Message:

put model name on compare figure

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    r51ec7e8 r0c24a82  
    667667    #    h = plt.colorbar() 
    668668    #    h.ax.set_title(cbar_title) 
     669    fig = plt.gcf() 
     670    fig.suptitle(opts['name']) 
    669671 
    670672    if Ncomp > 0 and Nbase > 0 and '-hist' in opts: 
  • sasmodels/core.py

    ra4280bd r0c24a82  
    221221 
    222222    return numpy_dtype, fast, platform 
     223 
     224if __name__ == "__main__": 
     225    print("\n".join(list_models())) 
Note: See TracChangeset for help on using the changeset viewer.