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

storage_cli
Tyler Goodlet 2023-01-22 15:45:56 -05:00
parent edd73f9c58
commit 59c2c8fa0d
2 changed files with 1 additions and 2 deletions

View File

@ -1062,7 +1062,6 @@ class Viz(msgspec.Struct): # , frozen=True):
else:
log.warning(f'Unknown view state {vl} -> {vr}')
return
# raise RuntimeError(f'Unknown view state {vl} -> {vr}')
else:
# 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)
_, vlm_curve = vlm_viz.update_graphics()
_, _, vlm_curve = vlm_viz.update_graphics()
# size view to data once at outset
vlm_chart.view._set_yrange(