def plot_movie(*args, **kwargs):
interactive = kwargs.pop('<STR_LIT>', False)<EOL>if interactive:<EOL><INDENT>plot_movie_with_elegans(*args, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>plot_movie_with_matplotlib(*args, **kwargs)<EOL><DEDENT>
Generate a movie from received instances of World and show them.
See also plot_movie_with_elegans and plot_movie_with_matplotlib.

Parameters
----------
worlds : list of World
    Worlds to render.
interactive : bool, default True
    Choose a visualizer. If False, show the plot with matplotlib.
    If True (only available on IPython Notebook), show it with elegans.