Changeset 2871 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 21, 2017 9:35:40 AM (6 years ago)
Author:
vondreele
Message:

change ContourColor? default back to Paired even if it is 12 color discrete in new matplotlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2869 r2871  
    12621262                    G2frame.ContourColor = choice[sel]
    12631263                else:
    1264                     G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','gist_ncar')
     1264                    G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','Paired')
    12651265                dlg.Destroy()
    12661266            elif G2frame.SinglePlot:
     
    24462446                G2frame.ContourColor = choice[sel]
    24472447            else:
    2448                 G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','gist_ncar')
     2448                G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','Paired')
    24492449            dlg.Destroy()
    24502450        elif event.key == 'i':                  #for smoothing contour plot
     
    29942994                G2frame.ContourColor = choice[sel]
    29952995            else:
    2996                 G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','gist_ncar')
     2996                G2frame.ContourColor = GSASIIpath.GetConfigValue('Contour_color','Paired')
    29972997            dlg.Destroy()
    29982998        wx.CallAfter(PlotXYZ,G2frame,XY,Z,labelX,labelY,False,Title)
Note: See TracChangeset for help on using the changeset viewer.