This is similar to what i have done.
from plotly.subplots import make_subplots
import plotly.graph_objects as go
fig = make_subplots(rows=3, cols=1)
fig.append_trace(go.Scatter(
x=[1,2,3,4,5],
y=[5,6,7,8,9],
), row=1, col=1)
fig.append_trace(go.Scatter(
x=[3,4,5,6,7],
y=[10,11,12,9,8],
), row=2, col=1)
fig.append_trace(go.Scatter(
x=[4,5,6,7,8],
y=[6,7,8,9,10]
), row=3, col=1)
fig.update_layout(height=450, width=716, title_text="Subplots")
fig.show()
is there any way to get common hover data here ? or any other way with different hover modes?
i want to achieve this with make subplots as well as with plotly Figure() objects where i have created subplots with multiple Y and different dimensions