python绘制好二维图后,怎样添加标注

python绘制好二维图之后,怎样用代码给图像设置标注,(应该是某一种函数)

是这个不
plt.title("XXX")
plt.ylabel('XXX')
plt.xlabel('XXX')