matplotlib.axes.Axes.get_title

Axes.get_title(loc='center')[源代码]

获取轴标题。

获取三个可用轴标题之一。可用标题位于中心轴上方,与左边缘齐平,与右边缘齐平。

参数:
loc{'center','left','right'},str,默认值:'center'

归还哪个头衔。

返回:
STR

标题文本字符串。

使用实例 matplotlib.axes.Axes.get_title