From 60668b2cf291a2f3d03cd4f356be2a92996fa2ca Mon Sep 17 00:00:00 2001
From: Dario Barghini <dario.barghini@inaf.it>
Date: Tue, 3 Jun 2025 16:13:41 +0200
Subject: [PATCH] Fixed warning in plot.py

---
 pysqm/plot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pysqm/plot.py b/pysqm/plot.py
index 355753d..c45e2e4 100644
--- a/pysqm/plot.py
+++ b/pysqm/plot.py
@@ -452,7 +452,7 @@ class Plot(object):
          'Sky Brightness ('+config._device_shorttype+'_'+\
          config._observatory_name+')\n',fontsize='x-large')
         self.thegraph_sunalt.set_xlabel('Solar altitude (deg)',fontsize='large')
-        self.thegraph_sunalt.set_ylabel('Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
+        self.thegraph_sunalt.set_ylabel(r'Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
 
         # Auxiliary plot (Temperature)
         '''
@@ -495,7 +495,7 @@ class Plot(object):
         #self.thegraph_time.set_title('Sky Brightness (SQM-'+config._observatory_name+')',\
         # fontsize='x-large')
         self.thegraph_time.set_xlabel('Time (UTC'+UTC_offset_label+')',fontsize='large')
-        self.thegraph_time.set_ylabel('Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
+        self.thegraph_time.set_ylabel(r'Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
 
         # Auxiliary plot (Temperature)
         '''
-- 
GitLab