def plot_neuron3d(ax, nrn, neurite_type=NeuriteType.all,<EOL>diameter_scale=_DIAMETER_SCALE, linewidth=_LINEWIDTH,<EOL>color=None, alpha=_ALPHA):
plot_soma3d(ax, nrn.soma, color=color, alpha=alpha)<EOL>for neurite in iter_neurites(nrn, filt=tree_type_checker(neurite_type)):<EOL><INDENT>plot_tree3d(ax, neurite,<EOL>diameter_scale=diameter_scale, linewidth=linewidth,<EOL>color=color, alpha=alpha)<EOL><DEDENT>ax.set_title(nrn.name)<EOL>
Generates a figure of the neuron,
that contains a soma and a list of trees.

Args:
    ax(matplotlib axes): on what to plot
    nrn(neuron): neuron to be plotted
    neurite_type(NeuriteType): an optional filter on the neurite type
    diameter_scale(float): Scale factor multiplied with segment diameters before plotting
    linewidth(float): all segments are plotted with this width, but only if diameter_scale=None
    color(str or None): Color of plotted values, None corresponds to default choice
    alpha(float): Transparency of plotted values