Setting for Consistent and Reproducable Axis Spacing

Hi together!

I am trying to create a gif made out of plotly graphs. And this works surprisingly well!
The only problem I’m having, is that I haven’t found the correct setting for fixing the stretching of the axes.

So far, I was able to create the gif below:

As you can see, in the beginning of the gif, the x-axis is “stretched” out, compared to other frames.
The range is constant (-400 to 400), but the same number of distance takes up different amount of space.
I hope you can see the problem.

This is the layout code I am using for each frame:

fig.update_layout(autosize=False,
                      width=700, height=500,
                      margin=dict(l=80, r=80, t=100, b=80),
                      showlegend=False,
                      font_family="serif",
                      font_color="black",
                      title_font_family="Computer Modern",
                      title_font_color="black",
                      scene = dict(
                              xaxis = dict(gridcolor="#b8b8b8",
                                           showbackground=False,
                                           zerolinecolor="black",
                                           autorange=False,
                                           range=[-400, 400],
                                           rangemode="nonnegative"),
                              yaxis = dict(gridcolor="#b8b8b8",
                                           showbackground=False,
                                           zerolinecolor="black",
                                           autorange=False,
                                           range=[-20, 20],
                                           rangemode="nonnegative"),
                              zaxis = dict(gridcolor="#b8b8b8",
                                           showbackground=False,
                                           zerolinecolor="black",
                                           autorange=False,
                                           range=[0, 70],
                                           rangemode="nonnegative"),
                              xaxis_title=r"x",
                              yaxis_title=r"y",
                              zaxis_title=r"z",
                              camera = dict(eye={"x": -1.25, "y": 1.25, "z": 1.25})
                      ))

I already set autosize to false and chose fixed axes ranges.
I don’t know which further settings to change.

Does anyone know which setting I am missing?

Thanks!

Cheers,
delta_papa