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 title will not be center aligned with the subplot titles.
To set the position of the title you can use
plt.suptitle("Title", x=center)
In my case, my subplots were in a 2x1 grid, so I was able to use
bbox = g.axes[0,0].get_position() to find the bounding box and then center=0.5*(bbox.x1+bbox.x2)