Skip to content

Commit

Permalink
MNT: clear out unecessary comments
Browse files Browse the repository at this point in the history
giovaniceotto authored Oct 11, 2023
1 parent 5da6e91 commit 83d28dd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions rocketpy/plots/aero_surface_plots.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 83d28dd

Please sign in to comment.