Skip to content
Snippets Groups Projects
Commit 6c957097 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Refs #14417. Remove duplicate colormap.

parent 0a975b0e
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ namespace MantidQt
m_defaultBackgroundColor = QColor(84,89,109);
// Populate the optional color maps
m_vsiColorMaps.append("Viridis");
m_vsiColorMaps.append("Viridis (matplotlib)");
m_vsiColorMaps.append("Cool to Warm");
m_vsiColorMaps.append("Blue to Red Rainbow");
m_vsiColorMaps.append("Red to Blue Rainbow");
......
......@@ -60,9 +60,9 @@ namespace MantidQt{
#ifdef MAKE_VATES
vtkNew<vtkSMTransferFunctionPresets> presets;
// Check for colormap "Viridis". If preset, assume custom colormaps have
// Check for colormap "hot". If preset, assume custom colormaps have
// already been loaded.
auto viridisColormap = presets->GetFirstPresetWithName("Viridis");
auto viridisColormap = presets->GetFirstPresetWithName("hot");
if (viridisColormap.empty()) {
const std::string filenames[3] = {"All_slice_viewer_cmaps_for_vsi.json",
"All_idl_cmaps.json",
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment