{% import 'macro' as macro %} {% for c in chart %} {{ macro.render_chart_notebook(c) }} {% endfor %}