Commit 04d0ed55 authored by Unknown's avatar Unknown
Browse files

plot_map_stack updated to account for plot_map changes

parent 274dd579
......@@ -893,16 +893,19 @@ def plot_map_stack(map_stack, num_comps=9, stdevs=2, color_bar_mode=None, evenly
fig202.suptitle(heading, fontsize=fig_title_size, y=fig_title_yoffset)
for count, index, subtitle in zip(range(chosen_pos.size), chosen_pos, title):
im = plot_map(axes202[count],
map_stack[index],
stdevs=stdevs, **kwargs)
im, im_cbar = plot_map(axes202[count],
map_stack[index],
stdevs=stdevs, **kwargs)
axes202[count].set_title(subtitle)
if color_bar_mode is 'each':
cb = axes202.cbar_axes[count].colorbar(im)
cb.set_label_text(colorbar_label)
if color_bar_mode is 'single':
cb = axes202.cbar_axes[0].colorbar(im)
cb.set_label_text(colorbar_label)
return fig202, axes202
......
Markdown is supported
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