Say I have 4 scatter3d graphs
dcc.Graph(id="graph1"),
dcc.Graph(id="graph2"),
dcc.Graph(id="graph3"),
dcc.Graph(id="graph4")
With a callback that returns the figure for the graphs (non reproducable code)
mydata = dict(
mode = "markers",
name = "All Points",
type = "scatter3d",
opacity = 1,
x = df['x'].values,
y = df['y'].values,
z = df['z'].values,
ids = df['id'].values,
text = df['id'].values,
hoverinfo = 'text',
marker = dict( size=20, color="red", opacity=0.9, line=dict(width=1,color="black"))
)
fig = dict( data=mydata)
Question
If I zoom in/pan/move one of the graphs, I would like to have it synced across all other graphs. How do I achieve this?