FacetGrid.
set_titles
(self, template=None, row_template=None, col_template=None, **kwargs)¶Draw titles either above each facet or on the grid margins.
Template for all titles with the formatting keys {col_var} and
{col_name} (if using a col
faceting variable) and/or {row_var}
and {row_name} (if using a row
faceting variable).
Template for the row variable when titles are drawn on the grid margins. Must have {row_var} and {row_name} formatting keys.
Template for the row variable when titles are drawn on the grid margins. Must have {col_var} and {col_name} formatting keys.
Returns self.