def __init__(self, *args, size=<NUM_LIT:100>, **kwds):
super().__init__(*args, detach=False, **kwds)<EOL>if not size:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self.size = size if isinstance(size, list) else [size]<EOL>self.is_numpy = hasattr(self.color_list, '<STR_LIT>')<EOL>for animation, begin, end in self._foreach():<EOL><INDENT>animation.layout = Strip([], color_list=self.color_list[begin:end])<EOL><DEDENT>
Arguments --
    size: a number or a list of numbers representing the size of each
        segment from the original layout.  If there aren't enough sizes
        for each segment, the list of sizes is reused repeatedly.