{% macro viz_html(viz) %} {% if viz.request.args.get("async") == "true" %} {{ viz.get_df().to_html(na_rep='', classes="dataframe table table-striped table-bordered table-condensed")|safe }} {% else %} {% endif %} {% endmacro %} {% macro viz_js(viz) %} {% if viz.form_data.get("async") != "true" %} {% endif %} {% endmacro %} {% macro viz_css(viz) %} {% endmacro %}