I have tried to change the aspect ratio of a typical 3D plot using PlotlyJS. I searched but found no helpful answer to my problem.
The MWE below produces a tall and thin cube with the surface in. I want to change the aspect ratio of the x,y,z-axis. I need the x,y-axis to be wider like the PGFPlotsX plot displayed below. I tried many ways but had no success. By the way, in PlotlyJS, how can I get rid of the colorbar if I want to? Thanks.
The mess I had inside the Layout settings displayed my unfortunate tries to follow the information in the Plotly documentation. It is perfect for my needs.
Thanks to @rafael.guerra for pointing out a link where there was a solution, and thanks to @empet for providing the solution.
Sorry for bothering you again with this 3D plot thing. I forgot to ask how to change the (x,y,z) axis titles. In the 2D case yaxis_title = "Capital (K)", xaxis_title = "Labor (L)" work, but in the 3D they don’t.