The end goal use case is to read serial data from an IOT device and plot this near real-time using dash. The data points come very quick so i’m not sure if dash can keep up.
I may have already found a decent fix. I didn’t realize i could just pass back a hash with the data and layout from the return call from my callback function. This seemed to make it very fast.
I change from:
return go.Figure(data=[trace], layout=layout)
It seems to be slower, yes. Not sure why yet but i will look into the constructor of the Figure to see if that is why or maybe it is creating a new object everytime and just returing a hash of the trace and layout maybe append to the figure object?
Did you fixed your problem or no? because i also faces same issue from last couple of days and can’t understand what actual going on so please help me.