So, to graph some data, I am sending to a dcc.Graph()
's figure
property the following,
figure = { 'data': [ {'type':'histogram',
'x': random_array,
'histnorm': 'probability'} ]
}
I use a function to append new data to the originally plotted data, so if I keep streaming newer and newer data for long enough into the same graph, eventually the original axes won’t be wide enough to display all the data, because some of it will fall outside the original boundaries.
Is there a a property or attribute that tells dcc.Graph
to dynamically update its axes, whenever new data comes in?