Fixed bin size in subplot go.Histogram

Hi,

How could I specify fixed bin size in subplot go.Histogram function.

Just wanna have each subplot with the same x-axis, from 0 to 500, 500 bins. No matter it looks nice or not.
I tried, but it turns out the plot will auto adjust the x-axis.

Thanks!

Hi @yoghurtshawn,

To have an absolute control on the bin size use numpy histogram https://numpy.org/doc/stable/reference/generated/numpy.histogram.html, and plot it as a Plotly bar chart.