python - Plotly, same scale for x and y axis - Stack Overflow

fig.update_yaxes(
    scaleanchor = "x",
    scaleratio = 1,
  )