Remove x coordinate on plot when using hovermode: 'x'

How to remove the x coordinate at the very top
What flag should I set?

Thanks : )

Screenshot 2024-09-23 at 5.36.56 PM

Hi @boris ,

it seems this post has same topics :

Hello,
To remove the x coordinate at the very top when using hovermode: 'x' in Plotly, set the hoverformat to an empty string: hp instant ink

fig.update_xaxes(hoverformat=" ")

This will hide the x coordinate text.

Best Regards,
Coxex

1 Like