Changeset 4007 for trunk/GSASIIplot.py


Ignore:
Timestamp:
May 31, 2019 10:59:33 AM (4 years ago)
Author:
vondreele
Message:

fix crash on Plot1.set_ylim(CurLims?) when CurLims? is None or NAN?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4006 r4007  
    32013201                        try:
    32023202                            CurLims[i] = float(G2frame.FixedLimits['dylims'][i])
     3203                            Plot1.set_ylim(CurLims)
    32033204                        except:
    32043205                            pass
    3205                     Plot1.set_ylim(CurLims)
    32063206                if Page.plotStyle['logPlot']:
    32073207                    if 'PWDR' in plottype:
Note: See TracChangeset for help on using the changeset viewer.