From 2ed43c07581a25de5fb448d58eaddd92cb301ab1 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 acef98e5..cd0b3ac1 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -577,7 +577,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: @@ -891,7 +891,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