From eadf3f28232e85c6b892c8c7c2174624a4fffd5a Mon Sep 17 00:00:00 2001 From: Mike Sutherland Date: Thu, 28 Apr 2022 16:46:50 -0700 Subject: [PATCH] #42 Fix aspect bug in plots --- src/uavfpy/planner/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uavfpy/planner/plots.py b/src/uavfpy/planner/plots.py index 7c2a6ee..a2c865b 100755 --- a/src/uavfpy/planner/plots.py +++ b/src/uavfpy/planner/plots.py @@ -52,7 +52,7 @@ def plot_surface_3d( enough to alter the object) """ ar = X.shape[0] / X.shape[1] - ax.set_box_aspect((1, 1 * ar, zsquash)) + ax.set_box_aspect(aspect=(1.0, 1 * ar, zsquash)) ax.set_proj_type("ortho") # draw sheet if wireframe: