Commit 79357571 authored by Eva Schiffer's avatar Eva Schiffer
Browse files

fix geotiff multi-channel plotting in gui

parent e7286b52
...@@ -467,7 +467,7 @@ class GlanceGUIFigures (object) : ...@@ -467,7 +467,7 @@ class GlanceGUIFigures (object) :
if dataForm == SIMPLE_2D : if dataForm == SIMPLE_2D :
# double check that our data is a shape we can handle for this type of plot # double check that our data is a shape we can handle for this type of plot
if len(data_object_to_use.data.shape) != 2 : if not plotAsRGB and len(data_object_to_use.data.shape) != 2 :
raise ValueError("Two dimensional data is required for this plot type. " raise ValueError("Two dimensional data is required for this plot type. "
"The provided variable data is " "The provided variable data is "
+ str(data_object_to_use.data.shape) + " shaped.") + str(data_object_to_use.data.shape) + " shaped.")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment