def stop_and_persist(self, symbol=' ', text=None):
        """Stops the spinner and persists the final frame to be shown.
        Parameters
        ----------
        symbol : str, optional
            Symbol to be shown in final frame
        text: str, optional
            Text to be shown in final frame

        Returns
        -------
        self
        """
        if not self._enabled:
            return self

        symbol = decode_utf_8_text(symbol)

        if text is not None:
            text = decode_utf_8_text(text)
        else:
            text = self._text['original']

        text = text.strip()

        if self._text_color:
            text = colored_frame(text, self._text_color)

        self.stop()

        output = '\r{0} {1}\n'.format(*[
            (text, symbol)
            if self._placement == 'right' else
            (symbol, text)
        ][0])

        with self.output:
            self.output.outputs = self._output(output)
def stop_and_persist ( self , symbol = ' ' , text = None ) : if not self . _enabled : return self symbol = decode_utf_8_text ( symbol ) if text is not None : text = decode_utf_8_text ( text ) else : text = self . _text [ 'original' ] text = text . strip ( ) if self . _text_color : text = colored_frame ( text , self . _text_color ) self . stop ( ) output = '\r{0} {1}\n' . format ( * [ ( text , symbol ) if self . _placement == 'right' else ( symbol , text ) ] [ 0 ] ) with self . output : self . output . outputs = self . _output ( output )
Stops the spinner and persists the final frame to be shown.
        Parameters
        ----------
        symbol : str, optional
            Symbol to be shown in final frame
        text: str, optional
            Text to be shown in final frame

        Returns
        -------
        self