Thank you, I ended up with
fig.update_yaxes(autorange="reversed")
Which does the trick. I thought that
fig = fig.update_layout(yaxis=dict(autorange="reversed"))
does the same thing, but apparently my syntax was wrong in this line somehow (Plotly still confuses me a bit).