From 736bbbff7746dc88e10a2ffec7bce899017ddc65 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 19 Jun 2023 14:34:47 -0400 Subject: [PATCH] view_mode: drop rounding dispersions and "debug print" --- piker/ui/view_mode.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/piker/ui/view_mode.py b/piker/ui/view_mode.py index 313dd8d3..d785c67a 100644 --- a/piker/ui/view_mode.py +++ b/piker/ui/view_mode.py @@ -358,9 +358,9 @@ def overlay_viewlists( start_t = row_start['time'] # returns scalars - r_up = (ymx - y_ref) / y_ref - r_down = (ymn - y_ref) / y_ref - disp = round(r_up - r_down, ndigits=16) + r_up: float = (ymx - y_ref) / y_ref + r_down: float = (ymn - y_ref) / y_ref + disp: float = r_up - r_down msg = ( f'Viz[{viz.name}][{key}]: @{chart_name}\n' @@ -552,7 +552,6 @@ def overlay_viewlists( mxmns_by_common_pi and not overlay_table ): - print("WAATT THE FUCK") # move to next chart in linked set since # no overlay transforming is needed. continue