diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 0e03395e..b82d1253 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -106,7 +106,9 @@ def chart_maxmin( mx_vlm_in_view = 0 if vlm_chart: - _, mx_vlm_in_view = vlm_chart.maxmin() + out = vlm_chart.maxmin() + if out: + _, mx_vlm_in_view = out return ( last_bars_range,