PLOTS infoScatterΒΆ
# -*-Python-*-
# Created by bgrierson at 09 Jan 2017 15:12
# Show info when you click on a plot
x = arange(5) + 1
y = np.sqrt(x)
name = ['{0:0.2f},{1:0.2f}'.format(x[i], y[i]) for i in range(len(x))]
fig, ax = plt.subplots()
ax.plot(x, y, '-o')
infoScatter(x, y, name)