Add data to graph in callback

Found a solution to this: use State callback with figure. Explained here: Is it possible to update just `layout`, not whole `figure` of Graph in callback?