ReferenceError: Plotly is not defined - error for 1 of 2 webpages that share same graph building function and html template ReferenceError: Plotly is not defined - error for 1 of 2 webpages that share same graph building function and html template flask flask

ReferenceError: Plotly is not defined - error for 1 of 2 webpages that share same graph building function and html template


I started again step-by-step from the running route (that was working) html and realized that the issue is related with a page refresh block that I had on the running page but not on the completed one

{% block refresh %}<meta http-equiv="refresh" content="5" >{% endblock refresh %}

If I remove this block, the plotly graph no longer shows.I can remove the content term, but not the http-equiv part.

{% block refresh %}<meta http-equiv="refresh">{% endblock refresh %}

Although I solved the issue, I would like to know if anyone has an explanation for this.