函数语法:
Title(label, fontdict=None, loc=None, pad=None, *, y=None, **kwargs)
函数功能:
Set a title for the axes.
设置坐标系标题
函数参数:
**label:**str ,Text to use for the title
字符串,用于标题文本内容
fontdictdict: A dictionary controlling the appearance of the title text, the default fontdict is:
字体字典项:控制标题文本外观,默认设置如下:
{'fontsize': rcParams['axes.titlesize'],
'fontweight': rcParams['axes.titleweight'],
'color': rcParams['axes.titlecolor'],
'verticalalignment': 'baseline',
'horizontalalignment': loc}
loc: {‘center’, ‘left’, ‘right’}, default: rcParams[“axes.titlelocation”] (default: ‘center’)。Which title to set
标题文本的位置,默认’center’,可以设置’center’, ‘left’, ‘right’,控制标题的左右