towardsdatascience.com › how-to-add-text-labels-toHow to Add Text Labels to Scatterplot in Matplotlib/ Seaborn Jan 27, 2021 · This can be done by using a simple for loop to loop through the data set and add the x-coordinate, y-coordinate and string from each row. sns.scatterplot(data=df,x=’G’,y=’GA’) for i in range(df.shape[0]): plt.text(x=df.G[i]+0.3,y=df.GA[i]+0.3,s=df.Team[i], fontdict=dict(color=’red’,size=10), bbox=dict(facecolor=’yellow’,alpha=0.5))