{% set plot_titles = [
"Fraction_of_pedestals_with_wrong_ucts_trigger_types",
"Fraction_of_FF_with_wrong_ucts_trigger_types",
"Fraction_of_cosmics_with_wrong_ucts_trigger_types",

"Fraction_of_pedestals_with_wrong_tib_trigger_types",
"Fraction_of_FF_with_wrong_tib_trigger_types",
"Fraction_of_cosmics_with_wrong_tib_trigger_types",

"Fraction_of_unknown_ucts_trigger_tags",
"Number_of_corrected_ucts_jumps",
"Fraction_of_unknown_tib_trigger_tags",
] %}

{% extends "templates/base.html" %}

{% import "macros/plot_grid.html" as plot_macros %}
{% import "macros/extra_js.html" as add_js_macros %}
{% import "macros/extra_css.html" as add_css_macros %}

{% block title %}
QP: {{ array_element }} {{
subitem }}
{% endblock %}

{% block extra_css %}
{{ add_css_macros.add_css(['badger']) }}
{% endblock %}

{% block content %}
{{ plot_macros.plot_grid(array_element, subitem, active_subitem, 3, 3, plot_titles, 3) }}
{% endblock %}

{% block extra_js %}
{{ add_js_macros.add_js(['d3']) }}
{% endblock %}
