Changeset 2869


Ignore:
Timestamp:
Jun 19, 2017 1:01:22 PM (4 years ago)
Author:
toby
Message:

change color on Seq parm fit plot

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r2865 r2869  
    24702470   
    24712471    :returns: the selection index or None or a selection list if multiple is true
     2472
     2473    Called by GSASIIgrid.OnReOrgSelSeq() which is not fully implemented.
    24722474    '''
    24732475    if multiple:
     
    25752577                wid = wx.StaticText(pnl,wx.ID_ANY,lbl)
    25762578                insize.Add(wid,0,flag=wx.EXPAND)
    2577                 val = G2py3.FormatSigFigs(self.vallookup[nam][lbl],maxdigits=8)
     2579                try:
     2580                    val = G2py3.FormatSigFigs(self.vallookup[nam][lbl],maxdigits=8)
     2581                except KeyError:
     2582                    val = '?'
    25782583                wid = wx.StaticText(pnl,wx.ID_ANY,'('+val+')')
    25792584                insize.Add(wid,0,flag=wx.EXPAND)
  • trunk/GSASIIplot.py

    r2863 r2869  
    42744274            if G2frame.seqReverse and not G2frame.seqXaxis:
    42754275                Page.fitvals = Page.fitvals[::-1]
    4276             Plot.plot(X,Page.fitvals,label='Fit')
     4276            Plot.plot(X,Page.fitvals,label='Fit',color=colors[(ic+2)%6])
    42774277           
    42784278        Plot.legend(loc='best')
Note: See TracChangeset for help on using the changeset viewer.