def plot_kde(data, ax, title=None, color='<STR_LIT:r>', fill_bt=True):
if isinstance(data, list):<EOL><INDENT>data = np.asarray(data)<EOL><DEDENT>e = kde.KDEUnivariate(data.astype(np.float))<EOL>e.fit()<EOL>ax.plot(e.support, e.density, color=color, alpha=<NUM_LIT>, linewidth=<NUM_LIT>)<EOL>if fill_bt:<EOL><INDENT>ax.fill_between(e.support, e.density, alpha=<NUM_LIT>, zorder=<NUM_LIT:1>,<EOL>antialiased=True, color=color)<EOL><DEDENT>if title is not None:<EOL><INDENT>t = ax.set_title(title)<EOL>t.set_y(<NUM_LIT>)<EOL><DEDENT>
Plot a smoothed (by kernel density estimate) histogram.
:type data: numpy array
:param data: An array containing the data to be plotted

:type ax: matplotlib.Axes
:param ax: The Axes object to draw to

:type title: str
:param title: The plot title

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

:type fill_bt: bool
:param fill_bt: Specify whether to fill the area beneath the histogram line