From 7cbade3f061d17534a85487382463627dc496909 Mon Sep 17 00:00:00 2001
From: kienle <kienle@passcal.nmt.edu>
Date: Wed, 29 Mar 2023 14:53:02 -0600
Subject: [PATCH] Make room for ruler text in all plots

---
 sohstationviewer/view/plotting/plotting_widget/plotting_axes.py | 2 +-
 sohstationviewer/view/plotting/state_of_health_widget.py        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
index 44ddb9fa5..3aa44c40d 100644
--- a/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py
@@ -356,7 +356,7 @@ class PlottingAxes:
         self.parent.timestamp_bar_bottom.add_artist(ruler)
         return ruler
 
-    def set_title(self, title, x=-0.15, y=100, v_align='top'):
+    def set_title(self, title, x=-0.15, y=105, v_align='top'):
         """
         Display title of the data set's plotting based on
 
diff --git a/sohstationviewer/view/plotting/state_of_health_widget.py b/sohstationviewer/view/plotting/state_of_health_widget.py
index 6258449ec..08c4c5dea 100644
--- a/sohstationviewer/view/plotting/state_of_health_widget.py
+++ b/sohstationviewer/view/plotting/state_of_health_widget.py
@@ -56,7 +56,7 @@ class SOHWidget(plotting_widget.PlottingWidget):
         self.axes = []
 
         self.timestamp_bar_top = self.plotting_axes.add_timestamp_bar(0.003)
-        self.plotting_axes.set_title(title, y=105)
+        self.plotting_axes.set_title(title)
         self.plotting_axes.add_gap_bar(gaps)
         not_found_chan = [c for c in channel_list
                           if c not in self.plotting_data1.keys()]
-- 
GitLab