From 43c08018adc9cc8f04990c6995540d4e282027ee Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 2 Feb 2023 12:00:19 -0500 Subject: [PATCH] Fix profiler f-string --- piker/ui/_display.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 5757c2cf..26085ce4 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -571,7 +571,7 @@ def graphics_update_cycle( mx = mx_in_view + tick_margin mn = mn_in_view - tick_margin - profiler('{fqsdn} `multi_maxmin()` call') + profiler(f'{fqsn} `multi_maxmin()` call') # don't real-time "shift" the curve to the # left unless we get one of the following: @@ -885,7 +885,9 @@ def graphics_update_cycle( fvb.interact_graphics_cycle( do_linked_charts=False, ) - profiler(f'vlm `Viz[{viz.name}].plot.vb.interact_graphics_cycle()`') + profiler( + f'Viz[{viz.name}].plot.vb.interact_graphics_cycle()`' + ) # even if we're downsampled bigly # draw the last datum in the final