{% for r, plot_row in enumerate(plots) %}
{% for c, plot in enumerate(plot_row) %}
{% if plot.title %}
{{ plot.title }}
{% endif %}
{{ plot.name }}
{% for id, (i,j) in enumerate(plot.docs.keys()) %}
Plot at ({{i+1}}, {{j+1}})
{% for doc, argdict in zip(plot.docs[(i,j)], plot.argdicts[(i,j)]) %}
{{ doc|safe }}
Plot Arguments
{% for key, val in argdict.items() %}
{{ key }}
{{ val }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}