From 83d28ddbdf09b0136e51134ab20d7a102fa76788 Mon Sep 17 00:00:00 2001 From: Giovani Hidalgo Ceotto Date: Tue, 10 Oct 2023 23:56:47 -0300 Subject: [PATCH] MNT: clear out unecessary comments --- rocketpy/plots/aero_surface_plots.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/rocketpy/plots/aero_surface_plots.py b/rocketpy/plots/aero_surface_plots.py index 0fe384dad..588d0f929 100644 --- a/rocketpy/plots/aero_surface_plots.py +++ b/rocketpy/plots/aero_surface_plots.py @@ -478,24 +478,17 @@ def deployed_level(self): ------- None """ - # Extract the first and second columns as x and y x = [row[0] for row in self.aero_surface.state_history] y = [row[1] for row in self.aero_surface.state_history] # Create the plot - plt.figure(figsize=(10, 6)) # Adjust the figure size as needed - plt.scatter( - x, y, marker="o", linestyle="-", color="b", s=0.5 - ) # You can customize the marker, linestyle, and color - - # Add labels and a title + plt.figure(figsize=(10, 6)) + plt.scatter(x, y, marker="o", linestyle="-", color="b", s=0.5) plt.xlabel("Time (s)") plt.ylabel("Deployed Level") plt.title("Deployed Level X Time (s)") - - # Show the plot - plt.grid(True) # Add grid lines if needed + plt.grid(True) plt.show() return None