其中
x,y:表示标签添加的位置s:表示标签的符号fontsize:标签字体大小了,取整数verticalalignment:表示垂直对齐方式 ,可选’center’,‘top’,'bottom’,‘baseline’等horizontalalignment:表示水平对齐方式 ,可以填’center’,‘right’,‘left’等rotation:表示标签的旋转角度,以逆时针计算,取整family: 用来设置字体,如:‘Times New Roman’style: 设置字体的风格,如:‘italic’weight: 字体的粗细, 如:‘light’bbox: 给字体添加框,如 bbox=dict(facecolor=‘red’, alpha=0.5)参考:https://blog.csdn.net/zengbowengood/article/details/104324293