Changeset 8fad50b in sasview
- Timestamp:
- Oct 26, 2018 5:37:59 AM (6 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
- Location:
- src/sas/qtgui/Plotting
- Files:
-
- 3 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)) -
src/sas/qtgui/Plotting/Plotter2D.py
r2f55df6 r8fad50b 1 1 import copy 2 2 import numpy 3 import pylab4 3 import functools 5 4 import logging … … 9 8 from PyQt5 import QtWidgets 10 9 11 DEFAULT_CMAP = pylab.cm.jet12 10 13 11 #import sys … … 15 13 import matplotlib as mpl 16 14 mpl.use("Qt5Agg") 15 DEFAULT_CMAP = mpl.cm.jet 17 16 18 17 from mpl_toolkits.mplot3d import Axes3D -
src/sas/qtgui/Plotting/PlotterBase.py
r34f13a83 r8fad50b 1 import pylab2 1 import numpy 3 2 … … 10 9 11 10 import matplotlib.pyplot as plt 11 import matplotlib as mpl 12 12 from matplotlib import rcParams 13 13 14 DEFAULT_CMAP = pylab.cm.jet14 DEFAULT_CMAP = mpl.cm.jet 15 15 from sas.qtgui.Plotting.Binder import BindArtist 16 16 from sas.qtgui.Plotting.PlotterData import Data1D
Note: See TracChangeset
for help on using the changeset viewer.