graph_util

plot_kde

Plot a smoothed (by kernel density estimate) histogram.

usage: phylotoast.graph_util.plot_kde(data, ax, title=None, color='r', fill_bt=True)
data:

An array containing the data to be plotted.

ax:

The Axes object to draw to.

title:

The plot title.

color:

The color of the histogram line and fill. Note that the fill will be plotted with an alpha of 0.35.

fill_bt:

Specify whether to fill the area beneath the histogram line.