Updating the hover text

Hi Im working on a drop down to enable showing more attributes on the onhover text for each point. Can I update the hover for each data point without making a new plot?

https://plot.ly/javascript/plotlyjs-function-reference/#plotlyrestyle work with all trace attributes, including hoverinfo and hovertext

hello!

you can do this, but with hovertext and hover info. Technically itโ€™s another plot but itโ€™s not too much work.

for i in range(3):
trace= go.Scatter(
x = [1,2,3,4,5,6,7,8,9,10],
y = [2,3,4,5,6,7,8,9,10,11],
 marker = dict( size = 10,
                        color = 'rgb(49,130,189)')
DataOut.append(trace)

DataOut[2]['visible']=True