Scaling Scatter charts?

Hi, How I can manipulate the scale in a char

for example my info goes to only 30.000 but I want put 40.000 in the scale.

image

import plotly.graph_objs as go

{
    'data': [data],
    'layout' : go.Layout(
        xaxis=dict(range=[min(X) - {The number you want}, max(X) + [The number you want]]),
        yaxis=dict(range=[min(Y),max(Y)]),
    )
}