Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Combining Flask route with Dash callback

I have an application that combines Flask and Dash. Is there a way for a Flask endpoint to trigger a Dash callback?

E.g.: Flask endpoint receives json data in body request and stores the data in a DataFrame, and then wants to trigger Dash to plot the new data in the DataFrame.

I’ve read about using a hidden-Div to hold my dataframe, but what triggers this is the endpoint receiving data, and not using an interaction with Dash like pushing a button or drop-down menu.

Is this possible? If not, what’s a good way to go about solving this? Thank you.