def render(self):
        """Runs the render until thread flag is set.
        Returns
        -------
        self
        """
        while not self._stop_spinner.is_set():
            self._render_frame()
            time.sleep(0.001 * self._interval)

        return self
Runs the render until thread flag is set.
        Returns
        -------
        self
        
halo/halo.py