def histogram(neurons, feature, new_fig=True, subplot=False, normed=False, **kwargs):
bins = kwargs.get('<STR_LIT>', <NUM_LIT>)<EOL>cumulative = kwargs.get('<STR_LIT>', False)<EOL>fig, ax = common.get_figure(new_fig=new_fig, subplot=subplot)<EOL>kwargs['<STR_LIT>'] = kwargs.get('<STR_LIT>', feature)<EOL>kwargs['<STR_LIT>'] = kwargs.get('<STR_LIT>', feature + '<STR_LIT>')<EOL>kwargs['<STR_LIT:title>'] = kwargs.get('<STR_LIT:title>', feature + '<STR_LIT>')<EOL>feature_values = [getattr(neu, '<STR_LIT>' + feature)() for neu in neurons]<EOL>neu_labels = [neu.name for neu in neurons]<EOL>ax.hist(feature_values, bins=bins, cumulative=cumulative, label=neu_labels, normed=normed)<EOL>kwargs['<STR_LIT>'] = len(neu_labels) == <NUM_LIT:1><EOL>return common.plot_style(fig=fig, ax=ax, **kwargs)<EOL>
Plot a histogram of the selected feature for the population of neurons.
Plots x-axis versus y-axis on a scatter|histogram|binned values plot.

More information about the plot and how it works.

Parameters :

    neurons : list
        List of Neurons. Single neurons must be encapsulated in a list.

    feature : str
        The feature of interest.

    bins : int
        Number of bins for the histogram.

    cumulative : bool
        Sets cumulative histogram on.

    subplot : bool
        Default is False, which returns a matplotlib figure object. If True,
        returns a matplotlib axis object, for use as a subplot.

Returns :

    figure_output : list
        [fig|ax, figdata, figtext]
        The first item is either a figure object (if subplot is False) or an
        axis object. The second item is an object containing the data used to
        generate the figure. The final item is text used in report generation
        as a figure legend. This text needs to be manually entered in each
        figure file.