Why was there no nbins specified for bmi visualization and what happens when bins are specified. I tried adding bins but i couldnt find any difference in the displayed graph

fig = px.histogram(medical_df,

               x='bmi', 

               marginal='box', 

               color_discrete_sequence=['red'], 

               title='Distribution of BMI (Body Mass Index)')

fig.update_layout(bargap=0.1)

fig.show()

can anyone reply? i saw a few posts on this topic that havent been answered