Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/ColorMap.py

    rd6b8a1d r8fad50b  
    88 
    99import matplotlib as mpl 
    10 from matplotlib import pylab 
    1110import numpy 
    1211 
     
    3231        self.data = data 
    3332        self._cmap_orig = self._cmap = cmap if cmap is not None else DEFAULT_MAP 
    34         self.all_maps = [m for m in pylab.cm.datad] 
     33        self.all_maps = [m for m in mpl.cm.datad] 
    3534        self.maps = sorted(m for m in self.all_maps if not m.endswith("_r")) 
    3635        self.rmaps = sorted(set(self.all_maps) - set(self.maps)) 
Note: See TracChangeset for help on using the changeset viewer.