Ignore:
Timestamp:
08/23/06 13:15:32 (18 years ago)
Author:
mar637
Message:

various changes to support the pylab plotter 'xyplotter'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r1174 r1175  
    580580        # convert this into lengths
    581581        n0,nstack0 = self._get_selected_n(scan)
    582         n = len(n0)
    583582        if isinstance(n0, int): n = n0
    584         nstack = len(nstack0)
     583        else: n = len(n0)
    585584        if isinstance(nstack0, int): nstack = nstack0
     585        else: nstack = len(nstack0)
    586586        maxpanel, maxstack = 16,8
    587587        if n > maxpanel or nstack > maxstack:
     
    731731             'i': "IF"+str(scan.getif(row)),
    732732             'p': poleval,
    733              't': scan._gettime(row) }
     733             't': str(scan.get_time(row)) }
    734734        return userlabel or d[mode]
    735735
Note: See TracChangeset for help on using the changeset viewer.