def plot_world_with_attractive_mpl(<EOL>world, marker_size=<NUM_LIT:6>, figsize=<NUM_LIT:6>, grid=True,<EOL>wireframe=False, species_list=None, max_count=<NUM_LIT:1000>, angle=None,<EOL>legend=True, noaxis=False, whratio=<NUM_LIT>, scale=<NUM_LIT:1.0>, **kwargs):
import matplotlib.pyplot as plt<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>fig, ax = __prepare_mplot3d_with_attractive_mpl(<EOL>__get_range_of_world(world, scale), figsize, grid, wireframe, angle,<EOL>noaxis, whratio)<EOL>scatters, plots = __scatter_world_with_attractive_mpl(<EOL>world, ax, species_list, marker_size, max_count, scale, **kwargs)<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>
Generate a 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.
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
whratio : float, default 1.33
    A ratio between figure width and height.
    Customize this to keep a legend within the figure.
scale : float, default 1
    A length-scaling factor