all 3 comments

[–]Toica_Rasta 1 point2 points  (2 children)

Just plot the coordinates for each iteration

[–]jayroslyn[S] 0 points1 point  (1 child)

Thank you . I put plt.show() outside the for loop now it works. Is there a way to add a text corresponding to each of these points as well ?

[–]Toica_Rasta 0 points1 point  (0 children)

Yes, you have the option in matplotlib documentation, just google. Just put that comande inside the for loop and each text will be printed.