Black Lives Matter. Please consider donating to Black Girls Code today.

Facet Grid hovertext parameter

I’d like to specify a column of strings in my dataframe to use as the hovertext. It doesn’t seem like this is an option - is there anything I’m missing?

Can you be more specific? What kind of tracer are you using?

Suggestion: You could pass the column to the text variable and add the ‘text’ tag to hoverinfo.

Tip: for multiline tooltips add a ‘
’ for each line break, e.g. text = 'Value1: ’ + df[‘Value1’] + ‘
’ + 'Value2: ’ + df[‘Value2’]