From 5c697de58e1ff02dc19de8c70cbadfab447af63b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 9 Mar 2023 16:32:50 -0500 Subject: [PATCH] Presume never handling not-in-view case for minor curves --- piker/ui/view_mode.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/piker/ui/view_mode.py b/piker/ui/view_mode.py index 5b6b22cc..42fefd62 100644 --- a/piker/ui/view_mode.py +++ b/piker/ui/view_mode.py @@ -668,16 +668,18 @@ def overlay_viewlists( f'yref@xref_pin: {yref}\n' ) - mx_scalars = mx_viz.scalars_from_index(xref) - if mx_scalars is None: - continue + # if we need to handle not-in-view cases? + # mx_scalars = mx_viz.scalars_from_index(xref) + # if mx_scalars is None: + # continue ( i_start, y_ref_major, r_up_from_major_at_xref, r_down_from_major_at_xref, - ) = mx_scalars + ) = mx_viz.scalars_from_index(xref) + # ) = mx_scalars if debug_print: print(