Changeset 4137


Ignore:
Timestamp:
Sep 5, 2019 1:31:50 PM (4 years ago)
Author:
vondreele
Message:

fix bug about mpl.use when using spyder debug
avoid non-standard keys in parmDict in SStructureFactorDerv2

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4114 r4137  
    123123    import wx.glcanvas
    124124    import matplotlib as mpl
    125     mpl.use('wxAgg')
     125    if not mpl.get_backend():       #could be assigned by spyder debugger
     126        mpl.use('wxAgg')
    126127    import matplotlib.collections as mplC
    127128    import mpl_toolkits.mplot3d.axes3d as mp3d
  • trunk/GSASIIstrMath.py

    r4136 r4137  
    20402040    dFdvDict = {}
    20412041    for parm in parmDict:
    2042         if parm == '0':
     2042        if ':' not in parm:
    20432043            continue
    20442044        if parm.split(':')[2] in ['Tmin','Tmax','Xmax','Ymax','Zmax','Fzero','Fwid',
Note: See TracChangeset for help on using the changeset viewer.