From 5eaca18ee0f708cb96c4914cf41f3b5bea007075 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 24 Jan 2023 12:33:11 -0500 Subject: [PATCH] Don't skip overlay scaling in disp-loop for now --- piker/ui/_display.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 55f18f80..b1af26f5 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -263,7 +263,7 @@ async def increment_history_view( if liv: # hist_viz.plot.vb._set_yrange(viz=hist_viz) hist_viz.plot.vb.interact_graphics_cycle( - do_overlay_scaling=False, + # do_overlay_scaling=False, ) profiler('hist chart yrange view') @@ -717,9 +717,11 @@ def graphics_update_cycle( main_vb._ic is None or not main_vb._ic.is_set() ): - yr = (mn, mx) + # TODO: incremenal update of the median + # and maxmin driving the y-autoranging. + # yr = (mn, mx) main_vb.interact_graphics_cycle( - do_overlay_scaling=False, + # do_overlay_scaling=False, ) # TODO: we should probably scale # the view margin based on the size