source: issm/oecreview/Archive/24684-25833/ISSM-25455-25456.diff@ 25834

Last change on this file since 25834 was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 982 bytes
  • ../trunk-jpl/src/m/plot/processmesh.py

     
    1212
    1313    TODO:
    1414    - Test application of matlplotlib.delaunay
    15     - Test that output of delaunay matches output of delaunay in MATLAB (see 
     15    - Test that output of delaunay matches output of delaunay in MATLAB (see
    1616    src/m/plot/processmesh.m)
    1717    """
    1818
     
    6161    else:
    6262        z = np.zeros(np.shape(md.mesh.x))
    6363    z = options.getfieldvalue('z', z)
    64     if isinstance(z, basestring):
     64    if isinstance(z, str):
    6565        z = getattr(md, z)
    6666
    6767    #is it a 2D plot?
     
    8989        y = y * unit
    9090        z = z * unit
    9191
    92     #is model a member of planet class? 
     92    #is model a member of planet class?
    9393    #
    9494    # TODO: Change this when planet class defined (see src/m/plot/processmesh.m)
    9595    #
Note: See TracBrowser for help on using the repository browser.