Suppress Plot Window when output to animation

It is hard to tell what you are doing (eg what plotting package etc), please provide an MWE.