Aspect Ratio Matlab

Hello,
I have a question about the aspect ratio on plotly figures. I am converting some matlab figures to plotly figures. After calling fig2plotly i am trying to change the aspect ratio of the figure by changing fp.layout.scene,aspectratio. Whenever i make this call it throws an error along the lines of Aspect ratio is not part of scene.

Do you know what i am doing wrong or how you change the aspect ratio of a plotly figure in matlab?

Thanks again for your help.