Plotting#

Every result’s .plot() delegates to one of these. Call them directly when you want an option the method shortcut doesn’t expose, or an axis to draw onto.

plot_clv

Show how discounted transactions and spend make up each CLV.

plot_prediction

Histogram the prediction across the customer base.

plot_probability_alive

Show probability alive against silence and repeat-purchase count.

plot_cohort_matrix

Draw a cohort matrix as the standard triangular heatmap.

plot_survival_curve

Draw model-based survival against cohort age.

plot_independence

Figure 4 of Fader, Hardie & Lee (2005) — spend by repeat-purchase count.