Changeset 3429 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jun 11, 2018 11:00:24 AM (5 years ago)
Author:
vondreele
Message:

add np.int64 to objectScanInnore list
fix order problems in TransformDialog?
fix mask copy warning in G2plot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3428 r3429  
    25592559            # recompute mask from excluded regions, in case they have changed
    25602560            excls = limits[2:]
    2561             xye0 = ma.array(xye0,mask=False)
     2561#            xye0 = ma.masked_outside(xye0,limits[0],limits[1],copy=False)
    25622562            for excl in excls:
    2563                 xye0 = ma.masked_inside(xye0,excl[0],excl[1])                   #excluded region mask
    2564             Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0))       #save the excluded region masking
     2563                xye0 = ma.masked_inside(xye0,excl[0],excl[1],copy=False)                   #excluded region mask
     2564#            Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0))       #save the excluded region masking
    25652565            if not G2frame.Contour:
    2566                 xye0 = ma.masked_outside(xye0,limits[1][0],limits[1][1])            #now mask for limits
     2566                xye0 = ma.masked_outside(xye0,limits[1][0],limits[1][1],copy=False)            #now mask for limits
    25672567        if Page.plotStyle['qPlot'] and 'PWDR' in plottype:
    25682568            X = 2.*np.pi/G2lat.Pos2dsp(Parms,xye0)
Note: See TracChangeset for help on using the changeset viewer.