Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Position hover label in the vertical middle of bar


Is there a way to position hover labels in the vertical middle of bars?

It seems they always appear at the top of bars.

Best regards,


There’s no easy way I’m afraid.

You can try using Plotly.Fx.hover to display custom hover labels, exactly where you want them.

See for an example.