def plot_movie_with_elegans(<EOL>worlds, radius=None, width=<NUM_LIT>, height=<NUM_LIT>, config=None, grid=False,<EOL>species_list=None):
config = config or {}<EOL>from IPython.core.display import display, HTML<EOL>from jinja2 import Template<EOL>data = {}<EOL>sizes = {}<EOL>for i, world in enumerate(worlds):<EOL><INDENT>species = __parse_world(world, radius, species_list)<EOL>for species_info in species:<EOL><INDENT>if data.get(species_info['<STR_LIT:name>']) is None:<EOL><INDENT>data[species_info['<STR_LIT:name>']] = []<EOL><DEDENT>data[species_info['<STR_LIT:name>']].append({<EOL>'<STR_LIT>': species_info['<STR_LIT:data>'],<EOL>'<STR_LIT:t>': i<EOL>})<EOL>sizes[species_info['<STR_LIT:name>']] = species_info['<STR_LIT:size>']<EOL><DEDENT><DEDENT>options = {<EOL>'<STR_LIT>': True,<EOL>'<STR_LIT>': False,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': grid,<EOL>'<STR_LIT>': __get_range_of_world(worlds[<NUM_LIT:0>])<EOL>}<EOL>model_id = '<STR_LIT>' + str(uuid.uuid4()) + '<STR_LIT:">'<EOL>color_scale = default_color_scale(config=config)<EOL>display(HTML(generate_html({<EOL>'<STR_LIT>': model_id,<EOL>'<STR_LIT>': json.dumps(list(data.keys())),<EOL>'<STR_LIT:data>': json.dumps(list(data.values())),<EOL>'<STR_LIT>': json.dumps([color_scale.get_color(name)<EOL>for name in data.keys()]),<EOL>'<STR_LIT>': json.dumps([sizes[name] for name in data.keys()]),<EOL>'<STR_LIT>': json.dumps(options)<EOL>}, '<STR_LIT>')))<EOL>
Generate a movie from received instances of World and show them
on IPython notebook.

Parameters
----------
worlds : list of World
    Worlds to render.
radius : float, default None
    If this value is set, all particles in the world will be rendered
    as if their radius are the same.
width : float, default 500
    Width of the plotting area.
height : float, default 500
    Height of the plotting area.
config : dict, default {}
    Dict for configure default colors. Its values are colors unique
    to each speices. The dictionary will be updated during this plot.
    Colors included in config dict will never be used for other speices.
species_list : array of string, default None
    If set, plot_movie will not search the list of species