{% macro plot_grid(array_element, subitem, active_subitem, rows, cols, plot_titles, max_plots_row, plot_errors=None, plot_keys=None) %}