From c75913c0a6dece733113d76f34bb6a22f90baead Mon Sep 17 00:00:00 2001 From: Raffaello Bonghi Date: Thu, 25 Jul 2024 15:32:35 +0100 Subject: [PATCH] Testing Chart error --- jtop/gui/lib/chart.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jtop/gui/lib/chart.py b/jtop/gui/lib/chart.py index 3c49f4c5..b9ba8e1f 100644 --- a/jtop/gui/lib/chart.py +++ b/jtop/gui/lib/chart.py @@ -77,6 +77,9 @@ def __init__(self, jetson, name, callback, type_value=int, line="*", color_text= idx_name = Chart.OFFSET_COLOR_CHART + self._color_obj_counter + (len(self.color_chart) - idx - 1) * color_step + idy second_color = self.color_chart[color_set[1]] if color_set[1] < len(self.color_chart) else curses.COLOR_BLACK logger.info("-------------------------------------") + logger.info(f"{self.color_chart}") + logger.info(f"{values}") + logger.info(f"{self._combinations}") logger.info(f"{Chart.OFFSET_COLOR_CHART}") logger.info(f"{self._color_obj_counter}") logger.info(f"{(len(self.color_chart) - idx - 1)}")