Fix focal min calc after switching to `Viz.datums_range()`..

log_linearized_curve_overlays
Tyler Goodlet 2023-02-28 16:02:27 -05:00
parent 77401a94fb
commit eda283f059
1 changed files with 2 additions and 2 deletions

View File

@ -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.datums_range()
_, vl, lbar, rbar, vr, r = viz.datums_range()
# TODO: max/min zoom limits incorporating time step size.
# rl = vr - vl
@ -556,7 +556,7 @@ class ChartView(ViewBox):
xl = viz.graphics.x_last()
focal = min(
xl,
vr,
r,
)
self._resetTarget()