Changeset 21288


Ignore:
Timestamp:
10/19/16 04:32:21 (8 years ago)
Author:
cborstad
Message:

BUG: resampling new colormaps causes ValueError in matplotlib 1.5.1

File:
1 edited

Legend:

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

    r21283 r21288  
    2929        # {{{ define wich colormap to use
    3030        try:
    31                 defaultmap=plt.cm.get_cmap('viridis',colorlevels)
     31                defaultmap=plt.cm.get_cmap('viridis')
    3232        except AttributeError:
    3333                print("Viridis can't be found (probably too old Matplotlib) reverting to gnuplot colormap")
Note: See TracChangeset for help on using the changeset viewer.