Changeset 17691


Ignore:
Timestamp:
04/09/14 12:26:19 (11 years ago)
Author:
cborstad
Message:

BUG: forgot to assign cmap in element plot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_unit.py

    r17654 r17691  
    4444      #element plot
    4545        if is2d:
    46                 p.tripcolor(x,y,elements,data,colorlevels,edgecolors=edgecolor)
     46                p.tripcolor(x,y,elements,data,colorlevels,cmap=cmap,edgecolors=edgecolor)
    4747        else:
    4848                raise ValueError('plot_unit error: 3D element plot not supported yet')
Note: See TracChangeset for help on using the changeset viewer.