Custom Hovertext Shows Default Also

Hi Everyone,

First off, I just want to say that I love working with Plotly. Fantastic product.

I am working on a multi-trace barplot in Python. I created a custom hovertext field in my DataFrame which works great. However, the chart renders both my custom hover text and the default hovertext in the same callout, which I do not want. In the past when I have used custom hovertext, once I assign it, the default text does not show. Hopefully I am just missing something.


@chakster, In order to display a custom hover text, set the key
where hovertext is a list of strings to be displayed on hover.

Son of a gun! Worked like a charm and I can’t believe I missed that. I knew I would shake my head when someone helped me out. Thank you empet.

1 Like