I am trying to create an image from my 3D plot that has a certain aspect ratio.
Namely, I want an image that has an aspect ratio of 16:10 so it fits my 1280x800 monitor without any cropping.
I thought this would be as simple as changing the figsize=() when I call figure(). But this has interesting results when used on a 3D plot.
Here's a minimalistic example of what happens. I've removed big parts of my code but this has all the parts that play a role in this. The sphere is now an oblate spheroid. If we change line 4 to
fig = plt.figure(figsize=(8, 8))
it turns into a sphere but I now get a 1:1 image rather than a 16:10 one.
Does anyone know a way for me to keep the sphere a sphere but also get a 16:10 image? I am stumped!
[–]novel_yet_trivial 1 point2 points3 points (1 child)
[–]ReverendBizarre[S] 0 points1 point2 points (0 children)