diff --git a/piker/data/_sharedmem.py b/piker/data/_sharedmem.py index 74707c6f..6bc69eb4 100644 --- a/piker/data/_sharedmem.py +++ b/piker/data/_sharedmem.py @@ -240,7 +240,13 @@ class ShmArray: def last( self, length: int = 1, + ) -> np.ndarray: + ''' + Return the last ``length``'s worth of ("row") entries from the + array. + + ''' return self.array[-length:] def push(