Skip to content
Advertisement

set matplotlib 3d plot aspect ratio

JavaScript

Setting the aspect ratio works for 2d plots:

JavaScript

But does not for 3d:

JavaScript

Is there a different syntax for the 3d case, or it’s not implemented?

Advertisement

Answer

My understanding is basically that this isn’t implemented yet (see this bug in GitHub). I’m also hoping that it is implemented soon. See This link for a possible solution (I haven’t tested it myself).

Advertisement