monet.plots.kdeplot

monet.plots.kdeplot(df, title=None, label=None, ax=None, **kwargs)

Create a kernel density estimate plot.

Parameters:
  • df (pandas.Series or array-like) – Data to plot the distribution of.

  • title (str, optional) – Title for the plot.

  • label (str, optional) – Label for the plotted line (for legend).

  • ax (matplotlib.axes.Axes, optional) – Axes to plot on. If None, creates a new figure and axes.

  • **kwargs – Additional arguments passed to seaborn’s kdeplot. Common options include ‘shade’, ‘bw’, and ‘color’.

Returns:

The axes containing the plot.

Return type:

matplotlib.axes.Axes