Ignore:
Timestamp:
18/01/10 11:26:36 (11 years ago)
Author:
pnorton
Message:

Added the X axis index labels that allow string labels to be plotted against data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qesdi/linplot/trunk/src/linplot/utils.py

    r6161 r6318  
    1414 
    1515from linplot.image_import import Image 
     16import numpy 
    1617 
    1718log = logging.getLogger(__name__) 
     
    2930     
    3031    return im 
     32 
     33def isString(x): 
     34     
     35    if type(x) in [str, numpy.string_]: 
     36        return True 
     37    return False 
Note: See TracChangeset for help on using the changeset viewer.