From 64230540c761d92b7f876b77246d5948cf3fb4de Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Wed, 19 Mar 2025 13:44:53 +0100 Subject: [PATCH] Signal processing: Change plot font. --- View/signal_processing_tab.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/View/signal_processing_tab.py b/View/signal_processing_tab.py index 26be9ce..1cff142 100644 --- a/View/signal_processing_tab.py +++ b/View/signal_processing_tab.py @@ -714,17 +714,17 @@ class SignalProcessingTab(QWidget): self.axis_profile_tail.set_yscale('log') self.axis_profile_tail.tick_params(axis='both', labelsize=8) self.axis_profile_tail.text(.98, .03, "Depth (m)", - fontsize=8, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.9, + fontsize=8, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.9, horizontalalignment='right', verticalalignment='bottom', rotation='horizontal', transform=self.axis_profile_tail.transAxes) self.axis_profile_tail.text(.1, .45, "BS signal (v)", - fontsize=8, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.9, + fontsize=8, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.9, horizontalalignment='right', verticalalignment='bottom', rotation='vertical', transform=self.axis_profile_tail.transAxes) self.axis_profile_tail.text(.98, .85, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][ self.combobox_freq_noise_from_profile_tail.currentIndex()], - fontsize=10, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5, + fontsize=10, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5, horizontalalignment='right', verticalalignment='bottom', transform=self.axis_profile_tail.transAxes) @@ -1237,7 +1237,7 @@ class SignalProcessingTab(QWidget): self.axis_SNR[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f], - fontsize=14, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5, + fontsize=14, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5, horizontalalignment='right', verticalalignment='bottom', transform=self.axis_SNR[f].transAxes) @@ -1508,7 +1508,7 @@ class SignalProcessingTab(QWidget): cmap='viridis', norm=LogNorm(vmin=val_min, vmax=val_max)) self.axis_BS[f].text(1, .70, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][f], - fontsize=14, fontweight='bold', fontname="Ubuntu", c="black", alpha=0.5, + fontsize=14, fontweight='bold', fontname="DejaVu Sans", c="black", alpha=0.5, horizontalalignment='right', verticalalignment='bottom', transform=self.axis_BS[f].transAxes) @@ -1871,7 +1871,7 @@ class SignalProcessingTab(QWidget): self.axis_profile.text( .95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][ self.combobox_frequency_profile.currentIndex()], - fontsize=10, fontweight='bold', fontname="Ubuntu", + fontsize=10, fontweight='bold', fontname="DejaVu Sans", fontstyle="normal", c="black", alpha=0.2, horizontalalignment='right', verticalalignment='bottom', transform=self.axis_profile.transAxes) @@ -2089,7 +2089,7 @@ class SignalProcessingTab(QWidget): self.axis_profile.text( .95, .05, stg.freq_text[self.combobox_acoustic_data_choice.currentIndex()][ self.combobox_frequency_profile.currentIndex()], - fontsize=10, fontweight='bold', fontname="Ubuntu", + fontsize=10, fontweight='bold', fontname="DejaVu Sans", fontstyle="normal", c="black", alpha=0.2, horizontalalignment='right', verticalalignment='bottom', transform=self.axis_profile.transAxes)