Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eva Schiffer
UW-Glance
Commits
79357571
Commit
79357571
authored
Jan 11, 2022
by
Eva Schiffer
Browse files
fix geotiff multi-channel plotting in gui
parent
e7286b52
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyglance/glance/gui_figuremanager.py
View file @
79357571
...
...
@@ -467,7 +467,7 @@ class GlanceGUIFigures (object) :
if
dataForm
==
SIMPLE_2D
:
# 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. "
"The provided variable data is "
+
str
(
data_object_to_use
.
data
.
shape
)
+
" shaped."
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment