def __init__(self, images=None, animation=None):
        """
        :param images: An optional set of ascii images to be rendered.
        :param animation: A function to pick the image (from images) to be
                          rendered for any given frame.
        """
        self._images = images if images is not None else []
        self._index = 0
        self._max_width = 0
        self._max_height = 0
        self._animation = animation
        self._colour_map = None
        self._plain_images = []
def __init__ ( self , images = None , animation = None ) : self . _images = images if images is not None else [ ] self . _index = 0 self . _max_width = 0 self . _max_height = 0 self . _animation = animation self . _colour_map = None self . _plain_images = [ ]
:param images: An optional set of ascii images to be rendered.
        :param animation: A function to pick the image (from images) to be
                          rendered for any given frame.