Changeset 3956 for trunk/GSASIIplot.py


Ignore:
Timestamp:
May 4, 2019 1:47:59 PM (3 years ago)
Author:
vondreele
Message:

fix bug in refPlotUpdate - missing phase colors
put progress bars in FillUnitCell?, FillCoordSphere? & AddSphere?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3955 r3956  
    32803280            l = GSASIIpath.GetConfigValue('Tick_length',8.0)
    32813281            w = GSASIIpath.GetConfigValue('Tick_width',1.)
     3282            refColors=['b','r','c','g','m','k']
    32823283            Page.phaseList = sorted(Phases.keys()) # define an order for phases (once!)
     3284            Page.phaseColors = {p:refColors[i%len(refColors)] for i,p in enumerate(Phases)}
    32833285            for pId,phase in enumerate(Page.phaseList):
    32843286                if 'list' in str(type(Phases[phase])):
Note: See TracChangeset for help on using the changeset viewer.