Changeset 8fad50b in sasview for src/sas/qtgui/Plotting/ColorMap.py
- Timestamp:
- Oct 26, 2018 3:37:59 AM (5 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 33812c3
- Parents:
- 8748751
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/ColorMap.py
rd6b8a1d r8fad50b 8 8 9 9 import matplotlib as mpl 10 from matplotlib import pylab11 10 import numpy 12 11 … … 32 31 self.data = data 33 32 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] 35 34 self.maps = sorted(m for m in self.all_maps if not m.endswith("_r")) 36 35 self.rmaps = sorted(set(self.all_maps) - set(self.maps))
Note: See TracChangeset
for help on using the changeset viewer.