Hi there,
I am hoping someone can give me some help on this one - with hovertemplate, how do I reference the start/end of a bin, and the y value (when the y value is not an input).
go.Histogram(
x=values,
name=group,
xbins=dict(
start=0,
end=maximum,
size=binsize,
),
histnorm='percent',
bingroup=1,
opacity=0.2,
cumulative=dict(enabled=True,
direction='decreasing'),
),
so on hover I want it to say “25-50, 15%”, which is equivalent of something like “{x_start}-{x_end}, {y:.0%}”
My problem is I don’t understand how to get x_start and x_end, and y doesn’t exist!
Many thanks