plt.annotate()函数解析

plt.annotate()函数用于标注文字。 plt.annotate(s='str', xy=(x,y) , xytext=(l1,l2) , ... ) 参数: s 为注释文本内容 xy 为被注释的坐标点 xytext 为注释文字的坐标位置 xycoords 参数如下: figure points:图左下角的点 figure pixels:图左下角的像素 figure fraction
相关文章
相关标签/搜索