Changeset 467


Ignore:
Timestamp:
Dec 9, 2011, 6:16:19 PM (13 years ago)
Author:
acolaitis
Message:

Bug fix in myplot.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myplot.py

    r464 r467  
    6969       masked.set_fill_value([np.NaN])
    7070       mask = np.ma.getmask(masked)
    71        if (True in mask):out=masked
     71       if (True in np.array(mask)):out=masked
    7272       else:out=field
    7373    return out
Note: See TracChangeset for help on using the changeset viewer.