✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Hoverlabel is not working

Hi,

I am trying to use hoverlabel to fix the text and background color of my hover info, but apparently, it is not working.

Can you please let me the reason?

Thanks
Harprit

You’re setting hoverlabel in the fifth argument your passing to Plotly.newPlot. That won’t do anything, Plotly.newPlot takes at most 4 arguments.

Set hoverlabel in the layout object where you’re already defining your graph’s axis options and you should get the desired result.

1 Like

Thank you so much. it worked.