Adjust `.update_graphics()` to expect `in_view: bool` in `_fsp.py`
parent
32f21dc06b
commit
89e2e7fc54
|
@ -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
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue