Changeset 17643


Ignore:
Timestamp:
04/03/14 17:56:16 (11 years ago)
Author:
cborstad
Message:

CHG: minor, index for colorbar saturation not needed here

File:
1 edited

Legend:

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

    r17640 r17643  
    2424   #colormap
    2525   cmap=options.getfieldvalue('colormap',mpl.cm.gnuplot2)
    26    cbar_extend=0
    2726   if options.exist('cmap_set_over'):
    2827      over=options.getfieldvalue('cmap_set_over','0.5')
    2928      cmap.set_over(over)
    30       cbar_extend+=1
    3129   if options.exist('cmap_set_under'):
    3230      under=options.getfieldvalue('cmap_set_under','0.5')
    3331      cmap.set_under(under)
    34       cbar_extend+=1
    3532
    3633   #normalize colormap if clim/caxis specified
Note: See TracChangeset for help on using the changeset viewer.