{% if labels|length > 1 %} {% with menuId='dropdownMenuLabel', menuText='Response', values=labels, menuDivVisible='explain-all-contrib' %} {% include "dropdown.html" %} {% endwith %} {% for label in labels %}
{% with menuId='dropdownMenu2', menuText='Feature', values=label['features'], menuDivVisible='explain-contrib-'~label['index'] %} {% include "dropdown.html" %} {% endwith %}
{% endfor %} {% else %} {% endif %}

Feature contribution plot

{% for label in labels %}

Response: {{ label['name'] }} - {{ label['index'] }}

{% for col in label['features'] %}

Feature: {{ col['name'] }} - {{ col['type'] }}

{% if col['name'] != col['description'] %}
{{ col['description'] }}
{% else %} {% endif %} {{ col['plot'] }}
{% endfor %}
{% endfor %}