Changeset 2198


Ignore:
Timestamp:
Apr 7, 2016 9:28:08 AM (7 years ago)
Author:
vondreele
Message:

selected PWDR plot width is retained after Refine, but not if some other plot is selected. Then it reverts to full width
fix problem of PlotCovariance? changing the status bar field widths; had to force the width after a SetFields?

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2197 r2198  
    35743574    if kind in ['PWDR','SASD']:
    35753575        NewPlot = True
    3576 #        if 'xylim' in dir(G2frame):
    3577 #            NewPlot = False
    3578 #
     3576        if 'xylim' in dir(G2frame):
     3577            NewPlot = False
    35793578        G2plt.PlotPatterns(G2frame,plotType=kind,newPlot=NewPlot)
    35803579    elif kind == 'HKLF':
  • trunk/GSASIIplot.py

    r2197 r2198  
    34653465    title = ' for\n'+Data['title']
    34663466    newAtomDict = Data.get('newAtomDict',{})
    3467     G2frame.G2plotNB.Delete('Covariance')
     3467#    G2frame.G2plotNB.Delete('Covariance')
    34683468    G2frame.G2plotNB.status.DestroyChildren()
    34693469   
     
    35033503                Page.canvas.SetToolTipString(msg)
    35043504                G2frame.G2plotNB.status.SetFields(['',msg])
     3505                #for some reason this needs to be here - otherwise in later wx's width gets changed
     3506                G2frame.G2plotNB.status.SetStatusWidths([150,-1])   
    35053507               
    35063508    try:
Note: See TracChangeset for help on using the changeset viewer.