Changeset 4137 for trunk/GSASIIplot.py


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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.