Vertical lines to points in scatter plot
<p>Suppose I have a set of points <code>x</code> and a set of corresponding data <code>y</code>. I now plot these in a scatter plot, <code>plt.scatter(x,y)</code>. The figure I get contains some x axis tick generated by matplotlib. Is there a way I can attain the automatic ticking, but to add vertical lines from the x-axis to the point in the scatter and label them?</p>