Add hoverdata to .add_vline()

How do I add the β€œx” value that we give in add_vline hoverdata and also how to modify the hovertemplate so that I can say that it points to the mean?
THankyou.

I have a histogram with count on y and I want to add mean median lines with hoverdata so I can just get away with minimal annotations like just mentioning the name. I can’t add scatter because I don’t know the y axis limit.
Thankyou.