Changeset 2863 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Jun 14, 2017 4:11:42 PM (6 years ago)
Author:
vondreele
Message:

extend contour color selection to include reversed ones (doubles the list!)
add Contour_color to configuration items; modify the Preferences GUI to present a ComboBox? for the color maps
continue implementation of protein validator
np.max --> np.fmax in some places (there may be more to be found); new numpy won't allow np.max to be used to compare an array with a value
fix one use of float as array index - not allowed now: there may be others in G2plot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2818 r2863  
    310310    else:
    311311        Data['type'] = 'PWDR'
    312         Data['color'] = 'Paired'
     312        Data['color'] = GSASIIpath.GetConfigValue('Contour_color','gist_ncar')
    313313        Data['tilt'] = 0.0
    314314        Data['rotation'] = 0.0
Note: See TracChangeset for help on using the changeset viewer.