matplotlib
在网络上查了很多次,也查了相关工具书,一直找不到关于这两个参数的解释,只能通过试错的方法,把这两个参数的大概意思及有效值找出来 以散点图为例plt.scatter(x,y) 添加注释plt.annotate(label,xy=(x,y),xytext=(5,2),textcoords='offset points',ha='right',va='bottom') 此处ha='right'点在注释右边(right,center,left),va='bottom'点在注释底部('top', 'bottom', 'center', 'baseline') ha有三个选择:right,center,left va有四个选择:'top', 'bottom', 'center', 'baseline' 以word2vec为例