What flag should I set to remove the coordinate that shows up at the very top?
Thanks : )
Hi @boris ,
As far as I know, you cannot remove that x hover label.
The best that I can suggest you is using hovermode: 'x unified'
instead of hovermode: 'x'
or if you want to keep using hovermode: 'x'
, you can remove only the text by adding code below.
fig.update_xaxes(hoverformat=" ")
But the problem is the x hover label box still there.
To get rid of the hover label box, You can make it transparent by updating hoverlabel
:
fig.update_layout(
hoverlabel=dict(
bgcolor="rgb(255,255,255,0)",
bordercolor="rgb(255,255,255,0)",
font_size=16,
font_family="Rockwell",
font_color="gray"
)
)
and the image below is the example after you update the hoverlabel
attribute.
Hope this help you find solution!