From af39afe05cfec0ef202cc1542dfe0103c130ed3b Mon Sep 17 00:00:00 2001 From: Lingkang Zhang <36938500+zlingkang@users.noreply.github.com> Date: Fri, 30 Dec 2022 15:38:43 -0800 Subject: [PATCH] add axes3d to figure (#766) --- Bipedal/bipedal_planner/bipedal_planner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Bipedal/bipedal_planner/bipedal_planner.py b/Bipedal/bipedal_planner/bipedal_planner.py index 9757fc42..8ca5ffcf 100644 --- a/Bipedal/bipedal_planner/bipedal_planner.py +++ b/Bipedal/bipedal_planner/bipedal_planner.py @@ -51,6 +51,7 @@ class BipedalPlanner(object): if plot: fig = plt.figure() ax = Axes3D(fig) + fig.add_axes(ax) com_trajectory_for_plot = [] px, py = 0.0, 0.0 # reference footstep position