Change font in name tag when hover over bar

The little tag that occurs when you hover on a bar in a plotly barchart, like here: the names read “Trace 0”, “Trace 1” etc…

It is controlled using the name = ______ tag.

I want to change the font color of these or change the font in general. Also, ideally I would like to control how many characters are allowed in there, because mine get cut off.


Update each trace with hoverlabel

                font=dict(family='Balto',  #or other font family
                          size=11, #or other size

See also:

1 Like