Skip to content

Commit dbad259

Browse files
BUG: Fix missing titles in roll parameter plots for fin sets
Call set_title(None) on clf_delta and cld_omega after set_inputs/set_outputs in Fins.evaluate_roll_parameters() so the title is auto-generated from the updated axis names instead of remaining None. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8cdb69f commit dbad259

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rocketpy/plots/aero_surface_plots.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ def roll(self):
164164
None
165165
"""
166166
print("Roll parameters:")
167-
# TODO: lacks a title in the plots
168167
self.aero_surface.roll_parameters[0]()
169168
self.aero_surface.roll_parameters[1]()
170169

rocketpy/rocket/aero_surface/fins/fins.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def evaluate_roll_parameters(self):
328328
) # Function of mach number
329329
clf_delta.set_inputs("Mach")
330330
clf_delta.set_outputs("Roll moment forcing coefficient derivative")
331+
clf_delta.set_title(None)
331332
cld_omega = (
332333
2
333334
* self.roll_damping_interference_factor
@@ -339,6 +340,7 @@ def evaluate_roll_parameters(self):
339340
) # Function of mach number
340341
cld_omega.set_inputs("Mach")
341342
cld_omega.set_outputs("Roll moment damping coefficient derivative")
343+
cld_omega.set_title(None)
342344
self.roll_parameters = [clf_delta, cld_omega, self.cant_angle_rad]
343345
return self.roll_parameters
344346

0 commit comments

Comments
 (0)