how to add title to a plot in matplotlib code example Example: matplotlib title import matplotlib.pyplot as plt plt.title('TITLE')