Hello,
I am generating a scatter plot with hover text on each point and the box always has only one line, meaning it is thin and long. I am trying to control the dimensions of the hover box so that it has a fixed horizontal width and its height changes to accommodate the text, but with no success. Based on the documentation, I passed a hoverlabel={‘width’:100}/{‘namelength’:100} but it did not have an effect on the result.
Below is the code block that generates the points. Any suggestions?
fig.add_trace( go.Scattergl( x=selection.x, y=selection.y, hovertext= selection.doc, hoverinfo="text", text=selection.text, mode='markers+text', name=name, textfont=dict( size=12, ), marker=dict(size=5, opacity=0.5) ) )