From 57ee45737d23c7e08cbc8fc8dd6562c948e3a5d9 Mon Sep 17 00:00:00 2001 From: Wolfgang Hoenig Date: Wed, 10 Jan 2024 06:50:09 +0100 Subject: [PATCH] fix flake8 issues --- crazyflie_sim/crazyflie_sim/visualization/pdf.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crazyflie_sim/crazyflie_sim/visualization/pdf.py b/crazyflie_sim/crazyflie_sim/visualization/pdf.py index 2ad0016af..6f72ec751 100644 --- a/crazyflie_sim/crazyflie_sim/visualization/pdf.py +++ b/crazyflie_sim/crazyflie_sim/visualization/pdf.py @@ -40,7 +40,7 @@ def shutdown(self): # position fig, axs = plt.subplots(3, 1, sharex=True) - fig.suptitle(name + " position") + fig.suptitle(name + ' position') axs[0].set_ylabel('px [m]') axs[1].set_ylabel('py [m]') axs[2].set_ylabel('pz [m]') @@ -55,7 +55,7 @@ def shutdown(self): # velocity fig, axs = plt.subplots(3, 1, sharex=True) - fig.suptitle(name + " velocity") + fig.suptitle(name + ' velocity') axs[0].set_ylabel('vx [m/s]') axs[1].set_ylabel('vy [m/s]') axs[2].set_ylabel('vz [m/s]') @@ -70,7 +70,7 @@ def shutdown(self): # orientation fig, axs = plt.subplots(3, 1, sharex=True) - fig.suptitle(name + " orientation") + fig.suptitle(name + ' orientation') axs[0].set_ylabel('roll [deg]') axs[1].set_ylabel('pitch [deg]') axs[2].set_ylabel('yaw [deg]') @@ -89,7 +89,7 @@ def shutdown(self): # omega fig, axs = plt.subplots(3, 1, sharex=True) - fig.suptitle(name + " angular velocity") + fig.suptitle(name + ' angular velocity') axs[0].set_ylabel('wx [deg/s]') axs[1].set_ylabel('wy [deg/s]') axs[2].set_ylabel('wz [deg/s]') @@ -104,7 +104,7 @@ def shutdown(self): # actions fig, axs = plt.subplots(2, 2, sharex=True, sharey=True) - fig.suptitle(name + " motor actions") + fig.suptitle(name + ' motor actions') axs[0, 0].set_ylabel('rpm') axs[1, 0].set_ylabel('rpm') axs[1, 0].set_xlabel('Time [s]')