Square Aspect Ratio Subplots


I am hoping to force the aspect ratio of a series of subplots in plotly to be square. However I am having lots of difficulty with this. I have tried to use the template located here:

But I’ve had no luck as of yet.

Could someone help me out please?