def plot_world2d_with_matplotlib(<EOL>world, plane='<STR_LIT>', marker_size=<NUM_LIT:3>, figsize=<NUM_LIT:6>, grid=True,<EOL>wireframe=False, species_list=None, max_count=<NUM_LIT:1000>, angle=None,<EOL>legend=True, noaxis=False, scale=<NUM_LIT:1.0>, **kwargs):
import matplotlib.pyplot as plt<EOL>plane = plane.lower()<EOL>if len(plane) != <NUM_LIT:2> or plane[<NUM_LIT:0>] not in ('<STR_LIT:x>', '<STR_LIT:y>', '<STR_LIT:z>') or plane[<NUM_LIT:1>] not in ('<STR_LIT:x>', '<STR_LIT:y>', '<STR_LIT:z>'):<EOL><INDENT>raise ValueError("<STR_LIT>".format(repr(plane)))<EOL><DEDENT>xidx = <NUM_LIT:0> if plane[<NUM_LIT:0>] == '<STR_LIT:x>' else (<NUM_LIT:1> if plane[<NUM_LIT:0>] == '<STR_LIT:y>' else <NUM_LIT:2>)<EOL>yidx = <NUM_LIT:0> if plane[<NUM_LIT:1>] == '<STR_LIT:x>' else (<NUM_LIT:1> if plane[<NUM_LIT:1>] == '<STR_LIT:y>' else <NUM_LIT:2>)<EOL>if species_list is None:<EOL><INDENT>species_list = [p.species().serial() for pid, p in world.list_particles()]<EOL>species_list = sorted(<EOL>set(species_list), key=species_list.index)  <EOL><DEDENT>wrange = __get_range_of_world(world, scale)<EOL>wrange = (wrange['<STR_LIT:x>'], wrange['<STR_LIT:y>'], wrange['<STR_LIT:z>'])<EOL>wrange = {'<STR_LIT:x>': wrange[xidx], '<STR_LIT:y>': wrange[yidx]}<EOL>fig, ax = __prepare_plot_with_matplotlib(<EOL>wrange, figsize, grid, wireframe, noaxis)<EOL>scatters, plots = __scatter_world2d_with_matplotlib(<EOL>world, (xidx, yidx), ax, species_list, marker_size, max_count, scale, **kwargs)<EOL>ax.set_xlabel(plane[<NUM_LIT:0>].upper())<EOL>ax.set_ylabel(plane[<NUM_LIT:1>].upper())<EOL>if legend is not None and legend is not False:<EOL><INDENT>legend_opts = {'<STR_LIT>': '<STR_LIT>', '<STR_LIT>': (<NUM_LIT:1.0>, <NUM_LIT:0.5>),<EOL>'<STR_LIT>': False, '<STR_LIT>': False, '<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': <NUM_LIT:1>}<EOL>if isinstance(legend, dict):<EOL><INDENT>legend_opts.update(legend)<EOL><DEDENT>ax.legend(**legend_opts)<EOL><DEDENT>plt.show()<EOL>
Make a 2D plot from received instance of World and show it on IPython notebook.

Parameters
----------
world : World or str
    World to render. A HDF5 filename is also acceptable.
plane : str, default 'xy'
    'xy', 'yz', 'zx'.
marker_size : float, default 3
    Marker size for all species. Size is passed to scatter function
    as argument, s=(2 ** marker_size).
figsize : float, default 6
    Size of the plotting area. Given in inch.
species_list : array of string, default None
    If set, plot_world will not search the list of species.
max_count : Integer, default 1000
    The maximum number of particles to show for each species.
    None means no limitation.
angle : tuple, default None
    A tuple of view angle which is given as (azim, elev, dist).
    If None, use default assumed to be (-60, 30, 10).
legend : bool, default True
scale : float, default 1
    A length-scaling factor