I am creating an animation with a static imshow() object as the background. Within imshow(), I have interpolation=‘quadric’, but in the .gif file the background is “pixelated” and the interpolation is gone. Is it possible to keep the interpolation in my animation? I’ve also tried saving the interpolated image as a png and plotting that as the background, but it still gets pixelated in the saved file. Increasing the size/resolution also does not help.
My imshow command:
My save command:
writergif = animation.PillowWriter(fps=25,bitrate=20)