vampire.plot.plot_distribution_contour#

vampire.plot.plot_distribution_contour(model, apply_properties_df=None, fig_size=(5, 5), height_ratio=(4, 1))[source]#

Plots the distribution of mean contours in a bar graph with labeling of mean contours.

Parameters:
modelvampire.model.Vampire

Built VAMPIRE model.

apply_properties_dfDataFrame, optional

Properties output of VAMPIRE model applied to data.

fig_size(float, float), optional

Width, height in inches. Default (5, 5).

height_ratiolist[float], optional

Ratio between height of distribution plot, shape mode contours, and shape mode dendrogram. Default [4, 1, 1]. Recommended values:

  • [4, 1, 1] for 5 clusters (shape modes)

  • [4, 0.5, 1] for 10 clusters (shape modes)

  • [4, 0.35, 1] for 15 clusters (shape modes)

Returns:
figmatplotlib.figure.Figure
axsmatplotlib.axes.Axes