def easyway(self, frames):
    for i in range(0, frames):
        fileName = 'videoName' + '%04d.png' % i
matplotlib.pyplot.scatter(xdata, ydata, c=coldata, marker='*', s=15.0,
    edgecolor='none')
Saving scatterplot animations with matplotlib produces blank video file