How do I add a title to this Seaborne plot? Let\'s give it a title \'I AM A TITLE\'.
tips = sns.load_dataset(\"tips\") g = sns.FacetGrid(tips, col=\"sex\", r
The answers using sns.plt.title() and sns.plt.suptitle() don't work anymore.
sns.plt.title()
sns.plt.suptitle()
Instead, you need to use matplotlib's title() function:
title()
import matplotlib.pyplot as plt sns.FacetGrid() plt.title("A title")