From fefb0de51ff07c0dc5237f2d0ec0571e473d2a9c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 3 Feb 2023 08:12:02 -0500 Subject: [PATCH] Don't update overlays as fsps --- piker/ui/_display.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index b66f3d15..998eea8b 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -783,25 +783,25 @@ def graphics_update_cycle( array_key=curve_name, ) - # even if we're downsampled bigly - # draw the last datum in the final - # px column to give the user the mx/mn - # range of that set. - if ( - curve_name != fqsn - and liv - # and not do_px_step - # and not do_rt_update - ): - viz.draw_last( - array_key=curve_name, + # even if we're downsampled bigly + # draw the last datum in the final + # px column to give the user the mx/mn + # range of that set. + if ( + curve_name != fqsn + and liv + # and not do_px_step + # and not do_rt_update + ): + viz.draw_last( + array_key=curve_name, - # TODO: XXX this is currently broken for the - # `FlattenedOHLC` case since we aren't returning the - # full x/y uppx's worth of src-data from - # `draw_last_datum()` .. - only_last_uppx=True, - ) + # TODO: XXX this is currently broken for the + # `FlattenedOHLC` case since we aren't returning the + # full x/y uppx's worth of src-data from + # `draw_last_datum()` .. + only_last_uppx=True, + ) profiler('overlays updates')