pillow version:5.4.1
The problem is I can see all the frames in the gif.
Expectation: in the lifecycle of a gif having 5 f
I think the "disposal" is not being set correctly. Try with:
images[0].save('anitest.gif', save_all=True, format='GIF', append_images=images[1:], duration=200,disposal=2, loop=0)