Changeset 3963 for trunk/Absorb.py


Ignore:
Timestamp:
May 9, 2019 8:48:07 PM (3 years ago)
Author:
vondreele
Message:

change pylab to pyplot in fprime & absorb
undo the addition of S301 to the set for 3m1 Laue groups. Did bad things even if the fit was "improved". Can be reinstated if I can work out what went wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Absorb.py

    r3826 r3963  
    1010import numpy as np
    1111import matplotlib as mpl
    12 import pylab
     12import matplotlib.pyplot as plt
    1313import sys
    1414import GSASIIpath
     
    327327
    328328    def OnExitMenu(self, event):
    329         pylab.close('all')
     329        plt.close('all')
    330330        self.Close()
    331331        self.Destroy()
     
    583583            newPlot = False
    584584        except:
    585             self.fplot = pylab.figure(facecolor='white',figsize=(8,6))  #BTW: default figsize is (8,6)
     585            self.fplot = plt.figure(facecolor='white',figsize=(8,6))  #BTW: default figsize is (8,6)
    586586            self.fplot.canvas.set_window_title('X-Ray Absorption')
    587587            self.fplot.canvas.mpl_connect('pick_event', self.OnPick)
     
    616616        if newPlot:
    617617            newPlot = False
    618             pylab.show()
     618            plt.show()
    619619        else:
    620620            if rePlot:
     
    625625                xylim = []
    626626                tb.push_current()
    627             pylab.draw()
     627            plt.draw()
    628628       
    629629    def OnPick(self, event):
Note: See TracChangeset for help on using the changeset viewer.