def animation(self, animation):
        """Setter for animation property.
        Parameters
        ----------
        animation: str
            Defines the animation of the spinner
        """
        self._animation = animation
        self._text = self._get_text(self._text["original"])
Setter for animation property.
        Parameters
        ----------
        animation: str
            Defines the animation of the spinner
        
halo/halo.py