# Histogram Number of bins

**URL:** <https://community.plotly.com/t/histogram-number-of-bins/73778>\
**Category:** 📊 Plotly Python\
**Tags:** question, bug-reporter\
**Created:** [March 22, 2023, 11:10am UTC](https://community.plotly.com/t/histogram-number-of-bins/73778 "2023-03-22T11:10:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmm2310](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@mmm2310](https://community.plotly.com/u/mmm2310)\
**Post date:** [March 22, 2023, 11:10am UTC](https://community.plotly.com/t/histogram-number-of-bins/73778/1 "2023-03-22T11:10:05Z")

</div>

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 ??
