From 0645a3d1c261664de80ee4160d3de43404e04ee3 Mon Sep 17 00:00:00 2001
From: odri <odri@furano.laas.fr>
Date: Tue, 19 Apr 2022 13:37:30 +0200
Subject: [PATCH] More idiomatic way to append

---
 python/quadruped_reactive_walking/tools/LoggerControl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/quadruped_reactive_walking/tools/LoggerControl.py b/python/quadruped_reactive_walking/tools/LoggerControl.py
index 503987ff..e7b4f508 100644
--- a/python/quadruped_reactive_walking/tools/LoggerControl.py
+++ b/python/quadruped_reactive_walking/tools/LoggerControl.py
@@ -390,7 +390,7 @@ class LoggerControl:
         plt.plot(t_range, self.loop_t_loop_if, "+", color="rebeccapurple")
         lgd = ["Estimator", "Planner", "MPC", "WBC", "Control loop", "Whole loop"]
         if self.solo3d:
-            lgd = ["SurfacePlanner"] + lgd
+            lgd.append("SurfacePlanner")
         plt.legend(lgd)
         plt.xlabel("Time [s]")
         plt.ylabel("Time [s]")
-- 
GitLab