Ignore:
Timestamp:
08/17/11 10:58:44 (13 years ago)
Author:
Malte Marquarding
Message:

revert accidental changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2276 r2277  
    914914                n = min(n,self._rows*self._cols)
    915915                self._plotter.set_panels(rows=self._rows,cols=self._cols,
    916                                          nplots=n,margin=self._margins,
    917                                          ganged=ganged)
     916                                         nplots=n,margin=self._margins,ganged=ganged)
    918917            else:
    919918                n = min(n,maxpanel)
    920                 self._plotter.set_panels(rows=n,cols=0,nplots=n,
    921                                          margin=self._margins,ganged=ganged)
     919                self._plotter.set_panels(rows=n,cols=0,nplots=n,margin=self._margins,ganged=ganged)
    922920        else:
    923921            self._plotter.set_panels(margin=self._margins)
     
    974972                   
    975973            #if (b > b0 or newpanel) and stackcount < nstack:
    976             if stackcount < nstack and (newpanel or rowstack
    977                                         or (a == a0 and b > b0)):
     974            if stackcount < nstack and (newpanel or rowstack or (a == a0 and b > b0)):
    978975                y = []
    979976                if len(polmodes):
     
    983980                # flag application
    984981                mr = scan._getflagrow(r)
    985                 #mr = False
    986982                from numpy import ma, array
    987983                if mr:
     
    991987                    from numpy import logical_not, logical_and
    992988                    if self._maskselection and len(self._usermask) == len(m):
    993                         if d[self._stacking](r) in \
    994                                 self._maskselection[self._stacking]:
     989                        if d[self._stacking](r) in self._maskselection[self._stacking]:
    995990                            m = logical_and(m, self._usermask)
    996                     y = ma.masked_array(y,mask=logical_not(array(m,
    997                                                                  copy=False)))
     991                    y = ma.masked_array(y,mask=logical_not(array(m,copy=False)))
    998992
    999993                x = array(scan._getabcissa(r))
Note: See TracChangeset for help on using the changeset viewer.