A library featuring some extensions to Matplotlib. Full documentation available here.
pip install mpl-ornaments
The title module allows to add title and subtitle to a Matplotlib's Figure
in a and neat and easy way.
import matplotlib.pyplot as plt
from mpl_ornaments.titles import set_title_and_subtitle
fig, ax = plt.subplots(figsize=(5,6))
set_title_and_subtitle(fig=fig, title='Figure title', subtitle='Figure subtitle')
fig.savefig(fname='title1.png')
The above code produces the following result: