Plotly rounding years to decade in bar chart

What you see are actually not rounded values but the default ticks. If you need specific ticks you might take a look at this: