From 5ec873fa2a50ed3ad025546ab48fb5cb5b0f1482 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 26 Feb 2023 16:13:24 -0500 Subject: [PATCH] Drop last lingering usage of `Viz.bars_range()` --- piker/ui/_interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 0a972d8c..2200dae0 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -509,7 +509,7 @@ class ChartView(ViewBox): # don't zoom more then the min points setting viz = chart.get_viz(chart.name) - vl, lbar, rbar, vr = viz.bars_range() + _, vl, lbar, rbar, vr, _ = viz.datums_range() # TODO: max/min zoom limits incorporating time step size. # rl = vr - vl