Changeset 1907 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Jun 24, 2015 12:23:55 PM (7 years ago)
Author:
vondreele
Message:

comment out the G2plotNB.clear in OnRefine? so that the new plot will have the same limits as the old one before refinement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1906 r1907  
    28492849    G2frame.PatternTree.SetItemPyData(item,data)
    28502850    if kind in ['PWDR','SASD']:
    2851         G2plt.PlotPatterns(G2frame,plotType=kind,newPlot=True)
     2851        if 'xylim' in dir(G2frame):
     2852            NewPlot = False
     2853        else:
     2854
     2855            NewPlot = True
     2856        G2plt.PlotPatterns(G2frame,plotType=kind,newPlot=NewPlot)
    28522857    elif kind == 'HKLF':
    28532858        Name = G2frame.PatternTree.GetItemText(item)
Note: See TracChangeset for help on using the changeset viewer.