Hello community!
I am making a px.histogram where x is a range of float values that looks like so:
I then create a binned histogram like this:
fig = px.histogram(VAFreq,
x = "VAF",
histnorm="percent",
nbins = 20,
title = Newfilename,
)
fig.update_layout(
yaxis_title="% observed",)
Resulting in a graph that looks like:
Iโd like to have, at a minimum, the hover info read count as the total number of VAFs for that given bin not itโs percent. So the largest binโs hover info would read count = 255 as thatโs the total number that fall in that bin. It would also be nice to display hover info for the exact percent like it does presently in addition to the count value. Iโve spent around a day trying to find a method to do so but Iโve been unsuccessful. Any advice/ways to accomplish this?
Thank you for your time!