Skip to content

Commit

Permalink
#42 Fix aspect bug in plots
Browse files Browse the repository at this point in the history
  • Loading branch information
rland93 committed Apr 28, 2022
1 parent f45bab4 commit eadf3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uavfpy/planner/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eadf3f2

Please sign in to comment.