Commit d7c68c79 authored by Chris Smith's avatar 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
...@@ -735,7 +735,7 @@ def plot_map_stack(map_stack, num_comps=4, stdevs=2, color_bar_mode=None, ...@@ -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)) p_cols = int(np.floor(num_comps / p_rows))
if p_rows*p_cols < num_comps: if p_rows*p_cols < num_comps:
p_cols += 1 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), axes202 = ImageGrid(fig202, 111, nrows_ncols=(p_rows, p_cols),
cbar_mode=color_bar_mode, cbar_mode=color_bar_mode,
cbar_pad='1%', cbar_pad='1%',
......
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