Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ansaminard committed Dec 3, 2024
1 parent e9a51f3 commit d16bfbf
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,11 @@ def plot(self):
time_data = output.time_freq_support.time_frequencies.data

plt.plot(time_data, output.data)
plt.title(output.name if len(output.name) > 0 else "Signal from spectrum source")
plt.title(
output.name
if len(output.name) > 0
else "Signal from broadband noise source with two parameters"
)
plt.xlabel("Time (s)")
plt.ylabel("Amplitude (Pa)")
plt.grid(True)
Expand Down

0 comments on commit d16bfbf

Please sign in to comment.