diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index 96187bf2..d2190d42 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -1204,6 +1204,10 @@ class ChartPlotWidget(pg.PlotWidget): ) pi.viz = viz + # so that viewboxes are associated 1-to-1 with + # their parent plotitem + pi.vb._viz = viz + assert isinstance(viz.shm, ShmArray) # TODO: this probably needs its own method?