Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Fixed bin size in subplot go.Histogram


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.


Hi @yoghurtshawn,

To have an absolute control on the bin size use numpy histogram, and plot it as a Plotly bar chart.