I have a collection of binned data from which I generate a series of seaborn pairplots. Since all of the bins have the same labels, but not bin names, I need to annotate the pairplots with the bin name 'n' below so that I can later associate them with their bins.
import seaborn as sns
groups = data.groupby(pd.cut(data['Lat'], bins))
for n,g in groups:
p = sns.pairplot(data=g, hue="Label", palette="Set2",
diag_kind="kde", size=4, vars=labels)
I noted in the documentation that seaborn uses, or is built upon, matplotlib. I have been unable to figure out how to annotate the legend on the left, or provide a title above or below the paired plots. Can anyone provide examples of pointers to the documentation on how to add arbitrary text to those three areas of a plot?