From d3e6ed3ba4784a02dd51600d6e3c81db2a458d99 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 27 Apr 2022 17:19:08 -0400 Subject: [PATCH] An absolute uppx diff of >= 1 seems more then fine --- piker/ui/_curve.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/piker/ui/_curve.py b/piker/ui/_curve.py index 60353f08..66862086 100644 --- a/piker/ui/_curve.py +++ b/piker/ui/_curve.py @@ -429,10 +429,7 @@ class FastAppendCurve(pg.GraphicsObject): if ( # std m4 downsample conditions px_width - and uppx_diff >= 1 - or uppx_diff <= -1 - or self._step_mode and abs(uppx_diff) >= 2 - + and abs(uppx_diff) >= 1 ): log.info( f'{self._name} sampler change: {self._last_uppx} -> {uppx}'