Matplotlib annotate注解的用法
Axes.annotate(s, xy, xytext=None, xycoords='data', textcoords=None, arrowprops=None, annotation_clip=None, **kwargs)功能:在图形上给数据添加注解。详细信息参考:官方文档。参数说明:s: str,注释文本内容。xy: (float,float), 箭头点所在的坐标位置。xytext: (float,float),注释内容的坐标位置。xycoords: str,被注释点的参考
原创
2022-04-01 11:01:12 ·
854 阅读 ·
0 评论