{% load static %} {% if object.type == 'histogram' %} {% elif object.type == '2dhistogram' %} {% elif object.type == 'barplot' %} {% elif object.type == 'boxplot' %} {% elif object.type == 'contour' %} {% elif object.type == 'pie' %} {% elif object.type == 'polar' %} {% elif object.type == 'scatterplot' %} {% elif object.type == 'scatterternary' %} {% elif object.type == 'violin' %} {% endif %}