Skip to content

Commit 5c697de

Browse files
committed
Presume never handling not-in-view case for minor curves
1 parent 3066b15 commit 5c697de

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

piker/ui/view_mode.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,16 +668,18 @@ def overlay_viewlists(
668668
f'yref@xref_pin: {yref}\n'
669669
)
670670

671-
mx_scalars = mx_viz.scalars_from_index(xref)
672-
if mx_scalars is None:
673-
continue
671+
# if we need to handle not-in-view cases?
672+
# mx_scalars = mx_viz.scalars_from_index(xref)
673+
# if mx_scalars is None:
674+
# continue
674675

675676
(
676677
i_start,
677678
y_ref_major,
678679
r_up_from_major_at_xref,
679680
r_down_from_major_at_xref,
680-
) = mx_scalars
681+
) = mx_viz.scalars_from_index(xref)
682+
# ) = mx_scalars
681683

682684
if debug_print:
683685
print(

0 commit comments

Comments
 (0)