rstoolbox.utils.add_top_title

rstoolbox.utils.add_top_title(ax, title, **kwargs)

Add a centered title on top of the selected axis.

All annotate() parameters are accessible.

Parameters:
  • ax (Axes) – Target plot axis.
  • title (str) – Title text to add.
Returns:

Annotation