Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly graph doesn't react on Heroku

Hey there!

I’m trying to deploy my dash python app wich consists in a dropdown and a plotly graph that reacts when you change the value of the dropdown. Locally it works perfectly but when I deploy it at Heroku the graph shows empty and when I change the dropdown option the tab displays the following message: ‘updating…’ but nothing really happens. The active dropdown is the bottom one…

Appreciate any help on the matter.

Heroku link: https://dash-bancas.herokuapp.com/
Python code: https://github.com/nicolasescobar0325/dash-heroku/blob/master/app.py

requirements.txt: https://github.com/nicolasescobar0325/dash-heroku/blob/master/requirements.txt
.gitignore: https://github.com/nicolasescobar0325/dash-heroku/blob/master/.gitignore
Procfile: web: gunicorn app:server

I recommend looking at the heroku logs with $ heroku logs -t. From examining the network tab of chrome’s developer tools, it looks like there is a 500 error, which usually means an uncaught exception in your application code.

1 Like