{# Plotly chart container macro. Usage: {% from "components/chart.html" import chart %} {{ chart("my-chart", "/dash/api/batches/123/figure") }} #} {% macro chart(div_id, endpoint_url, height="400px") %}
{# Loading spinner -- replaced by Plotly chart on load #}
{% endmacro %}