alanjones2 / Flask-Plotly

Interactive Web Apps and Dashboards
MIT License
141 stars 56 forks source link

Javascript not recognizing the graphJSON variable #1

Closed lgerstner closed 3 years ago

lgerstner commented 3 years ago

Hi there,

I am trying to duplicate the code you have created with a bit of a different example. When doing so there is an error in the javascript saying that a comma is expected after the creation of the graphs variable (the one referencing the graphJSON variable that's being passed from the render_template function). Any idea why this might be the case?

Thank you!

alanjones2 commented 3 years ago

If you post a code snippet, I might be able to help

lgerstner commented 3 years ago

I was helping someone with going through the example and it wasn't working on their machine. I duplicated your example on my machine and works perfect, so maybe a small bug or system set up on the other machine. Thanks again