Changeset 3425 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 8, 2018 8:53:57 AM (4 years ago)
Author:
vondreele
Message:

use nxs = np.newaxis in G2spc.
Add 2 functions for checking symm extinct reflections (not in use yet)
fix wx.Colour object showing up in gpx file problem - convert to list[:3] (takes off alpha)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3403 r3425  
    30963096        '''Respond to a change in color
    30973097        '''
    3098         lbl = plotOpt['colorButtons'].get(event.GetEventObject())
     3098        lbl = plotOpt['colorButtons'].get(list(event.GetEventObject())[:3])
    30993099        if lbl is None:
    31003100            print('Unexpected button',lbl)
Note: See TracChangeset for help on using the changeset viewer.