From 72a9af21ac4903cefdfaf15fa45fc43ef9e19c2b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 19 Jan 2023 14:40:02 -0500 Subject: [PATCH] Fix profiler f-strings --- piker/ui/_display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 7603548b..64c0b271 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -122,7 +122,7 @@ def multi_maxmin( ) = out if profiler: - profiler('fast_viz.maxmin({read_slice})') + profiler(f'fast_viz.maxmin({read_slc})') mn, mx = yrange @@ -143,7 +143,7 @@ def multi_maxmin( mx_vlm_in_view = mxmn[1] if profiler: - profiler('vlm_viz.maxmin({read_slc})') + profiler(f'vlm_viz.maxmin({read_slc})') return ( mx,