{% macro plot_grid(array_element, subitem, active_subitem, rows, cols, plot_titles, max_plots_row) %}