diff --git a/piker/ui/_display.py b/piker/ui/_display.py index ee2ba370..1b28312c 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -214,9 +214,8 @@ async def increment_history_view( hist_chart: ChartPlotWidget = ds.hist_chart hist_viz: Viz = ds.hist_viz # viz: Viz = ds.viz - # NOTE: Changed for macOS compatibility with shortened shm names - # assert 'hist' in hist_viz.shm.token['shm_name'] - assert hist_viz.shm.token['shm_name'].endswith('.h') + # Ensure the "history" shm-buffer is what's reffed. + assert hist_viz.shm.token['shm_name'].endswith('.hist') # name: str = hist_viz.name # TODO: seems this is more reliable at keeping the slow