I am currently using the following code to plot a graph using python pyplot:
plt.plot([row[2] for row in data],[row[1] for row in data], type, marker='o', label=name)
However, instead of the default marker of 'o' I want the marker at the points to be the data in row[1]
Can someone explain how to do this?
So you want to annotate the y-values of the points along your line?
Use
annotatefor each point. For example: