Return variable number of graphs. Access component properties afterward

Dear all,

I have a Dashboard that displays either 1, 2 or 3 scatterplots based on some user input.

Thus, I currently just have html.Div(id='output'), where the scatters are supposed to be plotted and then I have a function that returns these graphs.

However, later I then want to use the ‘clickData’ property of the graphs, but I don’t know how to access them through the ‘output’ id? Is there a way to do this?

Duplicate of https://github.com/plotly/dash-core-components/issues/258