Skip to content

Commit

Permalink
fixed marker colors in versus belt plots
Browse files Browse the repository at this point in the history
Colors were previously inverted on the left graph but it was forgotten to also do it on the versus plot...
  • Loading branch information
Frix-x authored Aug 3, 2024
1 parent 8cf81bc commit dfaa60d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shaketune/graph_creators/belts_graph_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,10 @@ def plot_versus_belts(
)
else:
ax.plot(
signal1.psd[peak2[0]], signal2.psd[peak2[0]], marker='o', color=KLIPPAIN_COLORS['orange'], markersize=7
signal1.psd[peak2[0]], signal2.psd[peak2[0]], marker='o', color=KLIPPAIN_COLORS['purple'], markersize=7
)
ax.plot(
signal1.psd[peak1[0]], signal2.psd[peak1[0]], marker='o', color=KLIPPAIN_COLORS['purple'], markersize=7
signal1.psd[peak1[0]], signal2.psd[peak1[0]], marker='o', color=KLIPPAIN_COLORS['orange'], markersize=7
)
ax.annotate(
f'{label}1',
Expand All @@ -411,7 +411,7 @@ def plot_versus_belts(

for _, peak_index in enumerate(signal1.unpaired_peaks):
ax.plot(
signal1.psd[peak_index], signal2.psd[peak_index], marker='o', color=KLIPPAIN_COLORS['purple'], markersize=7
signal1.psd[peak_index], signal2.psd[peak_index], marker='o', color=KLIPPAIN_COLORS['orange'], markersize=7
)
ax.annotate(
str(unpaired_peak_count + 1),
Expand All @@ -426,7 +426,7 @@ def plot_versus_belts(

for _, peak_index in enumerate(signal2.unpaired_peaks):
ax.plot(
signal1.psd[peak_index], signal2.psd[peak_index], marker='o', color=KLIPPAIN_COLORS['orange'], markersize=7
signal1.psd[peak_index], signal2.psd[peak_index], marker='o', color=KLIPPAIN_COLORS['purple'], markersize=7
)
ax.annotate(
str(unpaired_peak_count + 1),
Expand Down

0 comments on commit dfaa60d

Please sign in to comment.