How to highlight the actual data point in a plot using python?

ipython

#1

I am currently plotting a function in python .But after plotting the function I am unable to locate the data point .I want to know how to locate the data point in the plot.

plt.plot(randn(30).cumsum(), 'k--')


#2

@sid100158

Line plots can additionally have makers to highlight the actual data points.

plot(randn(30).cumsum(), color='k', linestyle='dashed', marker='o')

Hope this helps!

Regards,
Hinduja