How to shift x axis values in plotly

image

I want to move x axis slightly to right using plotly python, so i can see 0 value starting after some space.

Can Anyone help me with the same.

@maddy6 To get a plot with some space before the starting point of your graph, just set the xaxis_range:

a=-30
fig.update_layout(xaxis_range=[a, 700])

You can tune the parameter a to get the desired plot.

@empet Thanks a lot!