I am creating a scatter plot with the below code.
trace3 = go.Scatter(
x=tmp_attr.sort_index().index,
y=tmp_attr.sort_index().values,
yaxis = 'y2',
name='% Buy', opacity = 0.6,
marker=dict(
color='black',
line=dict(color='#000000',
width=2 )
)
How do I add text corresponding to the y value for each (x,y) pair in the graph?