|
From: Zhu, S. <zhu...@gm...> - 2013-04-06 23:00:13
|
How to add number near point of scatter plot? e.g. I have two point 1 is (1,3) and point 2 (2,4), how can I add 1 and 2 to scatter plot near these two points? Thanks! import matplotlib.pyplot as plt x = [1,2] y = [3,4] plt.scatter(x, y) plt.show() |