✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Setting height/width of subplots in a scatter matrix

In my DashApp the user can select variables from a Dropdown and have them plotted in a scatter matrix. I want to achieve the same ratio between the height/width for each subplot.
This way I can ensure, the plots don’t become tiny when I am plotting 15 different columns of a DataFrame.

My personal favourite would be, if I could adapt the height according to the width of a subplot, like for exmaple in a ordinary Scatter Plot:

fig.update_layout(yaxis = {
                                    'scaleanchor': 'x',
                                    'scaleratio': 1.0

Does someone have a clue?

I think @empet already answered to a similar question here:

but I have no idea how to adapt it for a scatter matrix.

Any help is highly appreciated!