tirank.Visualization.create_density_plot

tirank.Visualization.create_density_plot(data, label, ax, title)[source]

Creates a single density (KDE) plot on a given axis.

Parameters:
  • data (pd.Series or np.ndarray) – The data to plot.

  • label (str) – The label for the data series in the legend.

  • ax (matplotlib.axes.Axes) – The matplotlib axis to plot on.

  • title (str) – Title for the subplot.

Returns:

None