Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
d7c68c79
Commit
d7c68c79
authored
Dec 16, 2016
by
Chris Smith
Browse files
Fixed error in new plot_map_stack
Fixed the error where the loading maps were plotted on top of the Scree
parent
db0f7a00
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/viz/plot_utils.py
View file @
d7c68c79
...
...
@@ -735,7 +735,7 @@ def plot_map_stack(map_stack, num_comps=4, stdevs=2, color_bar_mode=None,
p_cols
=
int
(
np
.
floor
(
num_comps
/
p_rows
))
if
p_rows
*
p_cols
<
num_comps
:
p_cols
+=
1
fig202
=
plt
.
figure
(
1
,
figsize
=
(
p_cols
*
fig_w
,
p_rows
*
fig_h
))
fig202
=
plt
.
figure
(
figsize
=
(
p_cols
*
fig_w
,
p_rows
*
fig_h
))
axes202
=
ImageGrid
(
fig202
,
111
,
nrows_ncols
=
(
p_rows
,
p_cols
),
cbar_mode
=
color_bar_mode
,
cbar_pad
=
'1%'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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