diff --git a/dashboard.py b/dashboard.py index 1f69bcf..0294f45 100644 --- a/dashboard.py +++ b/dashboard.py @@ -164,7 +164,7 @@ class TimeSeries(Widget): / math.log(max_value / min_value) ) * 200 elif self.yscale == "linear": - return (1 - v/max_value) * 200, + return (1 - v/max_value) * 200 else: raise ValueError(f"Unknown yscale {self.yscale}") @@ -413,6 +413,7 @@ class TimeSeries(Widget): html += f"" html += f"{tm['t_h']}" for tm in self.y_tickmarks: + log.debug("tm = %s", tm) html += f"" html += f"{tm['v_h']}" for v in v_data: