简体   繁体   中英

Plotly/dash Dashboard is not live updating - Python

I have written a script which deploys a Dashboard using plotly-dash. It has graphs, data for which is coming from the excel file located on the PC. This data is stored in the excel file which will be updated on a daily basis. What can I do for the app to get updated with the new data without me redeploying it every day? Maybe you can give some advice or ideas?

PS The dashboard is currently deployed using Heroku.

If your app reads the file in as part of a callback based on something like the pathname ( dcc.Location ), then you could just refresh the page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM