Facepalm: set `Viz.ViewState.yrange` even on cache hits..
parent
80af431c2a
commit
08f1f569d0
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue