Histogram Number of bins

I started using histogram for my app. I find, number of bins are not getting generated as specified.
fighb = px.histogram(dff,x=‘a’, y=‘b’, histfunc=“sum”, nbins=100, color = c, text_auto=True, height=175).
is there a bug ??