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

Fill line not displaying hover tool

Hi,

I’m new to plotly and am currently trying to find a workaround to make a joyplot.

I’ve managed to stack the scatter traces along the yaxis by sequentially padding each series to a specific zero value and display the corresponding custom ticktexts along the axis, however, if I set the tracer to be a filled line, the I’m not getting any hovertext displayed.

tracer = go.Scatter(x=df[‘x’],
y=0.1*(df[‘Count’]+i),
name=t,
fill=‘toself’,
fillcolor=colors[i],
opacity=0.8,
text=txt,
hoverinfo=‘all’,
yaxis=‘y’,
legendgroup=df[‘Group’],
line = dict(width=0)
)

Line tracers without a fill do display the hover text. Could this be a bug or am I missing a setting?

Working via the Python API.

Many thanks!