Facepalm: set `Viz.ViewState.yrange` even on cache hits..

log_linearized_curve_overlays
Tyler Goodlet 2023-03-05 21:22:55 -05:00
parent 7e6e04b7e2
commit 57d56c4791
1 changed files with 3 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class ViewState(Struct):
in_view: np.ndarray | None = None
class Viz(Struct): # , frozen=True):
class Viz(Struct):
'''
(Data) "Visualization" compound type which wraps a real-time
shm array stream with displayed graphics (curves, charts)
@ -454,6 +454,7 @@ class Viz(Struct): # , frozen=True):
f'{ixrng} -> {cached_result}'
)
read_slc, mxmn = cached_result
self.vs.yrange = mxmn
return (
ixrng,
read_slc,
@ -1148,6 +1149,7 @@ class Viz(Struct): # , frozen=True):
if do_ds:
view.interact_graphics_cycle()
view.interact_graphics_cycle()
def incr_info(
self,