docs: def _update_values_in_window(self):
          """Update which values are in the current window."""
          window_bound_upper = self._window_bound_lower + self.window_size
          self._x_in_window = self.x[self._window_bound_lower:window_bound_upper]
          self._y_in_window = self.y[self._window_bound_lower:window_bound_upper]