calour.amplicon_experiment.AmpliconExperiment.plot_hist

AmpliconExperiment.plot_hist(ax=None, **kwargs)[source]

Plot histogram of all the values in data.

It flattens the 2-D array and plots histogram out of it. This gives a sense of value distribution. Useful to guess a reasonable clim for heatmap.

Parameters:
Returns:

the count in each bin, the start coord of each bin, and hist figure

Return type:

tuple of 1-D int array, 1-D float array, matplotlib.axes.Axes