I have made some scatter plot and show it, but after that, I want to show my drawing process by redrawing those scatter plot with another color.
I want to dynamic show the process of drawing. How can I do that ??
I add the ax.scatter()
after plt.show()
, but it doesn't works.
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.scatter([1,2,3,4,5,6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10],marker=".")
plt.grid(ls=':')
plt.show()