var config = { {% if displayModeBar is not null %} displayModeBar: {{displayModeBar}} {% endif %} }