0.11.2
  • Gallery
  • Tutorial
  • API
  • Site
      • Introduction
      • Release notes
      • Installing
      • Example gallery
      • Tutorial
      • API reference
      • Citing
      • Archive
  • Page
      • seaborn.FacetGrid.set_titles

seaborn.FacetGrid.set_titles¶

FacetGrid.set_titles(self, 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 a row 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 row variable when titles are drawn on the grid margins. Must have {col_var} and {col_name} formatting keys.

Returns
self: object

Returns self.

Back to top

© Copyright 2012-2021, Michael Waskom. Created using Sphinx 3.3.1.