Changeset 3082 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Sep 18, 2017 2:53:21 PM (4 years ago)
Author:
vondreele
Message:

fix legend plotting error in PlotXY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3080 r3082  
    29522952            if len(XY):
    29532953                G2IO.XYsave(G2frame,XY,labelX,labelY,names)
    2954             if XY2 != None:
     2954            if XY2 != []:
    29552955                G2IO.XYsave(G2frame,XY2,labelX,labelY,names2)
    29562956#        else:
     
    30063006                    Plot.plot(X+dX,Y+dY,colors[ixy%6],picker=False)
    30073007        if len(names):
    3008             Plot.legend(loc='best')
     3008            Plot.legend(names,loc='best')
    30093009        if not newPlot:
    30103010            Page.toolbar.push_current()
Note: See TracChangeset for help on using the changeset viewer.