Adjust `.update_graphics()` to expect `in_view: bool` in `_fsp.py`

log_linearized_curve_overlays
Tyler Goodlet 2023-01-22 15:45:56 -05:00
parent 32f21dc06b
commit 89e2e7fc54
2 changed files with 1 additions and 2 deletions

View File

@ -1062,7 +1062,6 @@ class Viz(msgspec.Struct): # , frozen=True):
else: else:
log.warning(f'Unknown view state {vl} -> {vr}') log.warning(f'Unknown view state {vl} -> {vr}')
return return
# raise RuntimeError(f'Unknown view state {vl} -> {vr}')
else: else:
# maintain the l->r view distance # maintain the l->r view distance

View File

@ -707,7 +707,7 @@ async def open_vlm_displays(
last_val_sticky.update_from_data(-1, value) last_val_sticky.update_from_data(-1, value)
_, vlm_curve = vlm_viz.update_graphics() _, _, vlm_curve = vlm_viz.update_graphics()
# size view to data once at outset # size view to data once at outset
vlm_chart.view._set_yrange( vlm_chart.view._set_yrange(