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.


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]]),
three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online