Matplotlib Tutorial - Axes Title

Matplotlib Tutorial - Axes Title

In this tutorial we’re going to learn about axis title in Matplotlib. Matplotlib Axes Title Syntax: matplotlib.pyplot.title(label, fontdict=None, loc=None, **kwargs) It sets a title of the current axes. Parameters Name Data Type Description label str label text fontdict dict label text font dictionary, like family, color, weight and size loc str The location of the title. It has three options, {'center', 'left', 'right'} and the default option is center # -*- coding: utf-8 -*- import numpy as np import matplotlib.

Most Popular Articles

Latest Articles