seaborn.FacetGrid.set_titles#
- FacetGrid.set_titles(template=None, row_template=None, col_template=None, **kwargs)#
Draw titles either above each facet or on the grid margins.
- Parameters:
- templatestring
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 arow
faceting variable).- row_template:
Template for the row variable when titles are drawn on the grid margins. Must have {row_var} and {row_name} formatting keys.
- col_template:
Template for the column variable when titles are drawn on the grid margins. Must have {col_var} and {col_name} formatting keys.
- Returns:
- self: object
Returns self.