From 79701764e3682c9e55e77f16c465e689b84af487 Mon Sep 17 00:00:00 2001 From: gryf Date: Sun, 1 May 2022 15:26:23 +0200 Subject: [PATCH] Added label for the graph. --- pywmtemp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pywmtemp.py b/pywmtemp.py index 7f88f4c..06be952 100755 --- a/pywmtemp.py +++ b/pywmtemp.py @@ -216,6 +216,9 @@ class SensorDockApp(wmdocklib.DockApp): self._put_string(item, position) position += self.char_height self._draw_graph() + name = self._current_graph.upper() + name = name[:4] + self.add_string(name, 1, 50) count += 1 if count >= 10: