def save(self, file_name, speed):
    self.animation.save(file_name, fps=(10 * speed), dpi=200, savefig_kwargs={'pad_inches': 0})
def save(self, file_name, speed):
    self.animation.save(file_name, fps=(10 * speed), dpi=200, savefig_kwargs={'pad_inches': 0})