From 6e49c2c6079764adab08445da9c9e41add42b9a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Boisselier?= Date: Sun, 30 Jun 2024 11:14:14 +0200 Subject: [PATCH] inverted belts colors to revert the behavior as pre-v4 --- shaketune/graph_creators/belts_graph_creator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shaketune/graph_creators/belts_graph_creator.py b/shaketune/graph_creators/belts_graph_creator.py index 7116635..c2d2eb6 100644 --- a/shaketune/graph_creators/belts_graph_creator.py +++ b/shaketune/graph_creators/belts_graph_creator.py @@ -210,8 +210,8 @@ def plot_compare_frequency( ax: plt.Axes, signal1: SignalData, signal2: SignalData, signal1_belt: str, signal2_belt: str, max_freq: float ) -> None: # Plot the two belts PSD signals - ax.plot(signal1.freqs, signal1.psd, label='Belt ' + signal1_belt, color=KLIPPAIN_COLORS['purple']) - ax.plot(signal2.freqs, signal2.psd, label='Belt ' + signal2_belt, color=KLIPPAIN_COLORS['orange']) + ax.plot(signal1.freqs, signal1.psd, label='Belt ' + signal1_belt, color=KLIPPAIN_COLORS['orange']) + ax.plot(signal2.freqs, signal2.psd, label='Belt ' + signal2_belt, color=KLIPPAIN_COLORS['purple']) psd_highest_max = max(signal1.psd.max(), signal2.psd.max())