A community-maintained Python framework for creating mathematical animations.
Bring up-to-date with master
Aathish37b7b459684e
diff --cc manim/scene/scene_file_writer.pyindex 1c623f73e,57e7bf1a3..10168e00c--- a/manim/scene/scene_file_writer.py+++ b/manim/scene/scene_file_writer.py@@@ -439,10 -439,10 +439,10 @@@ class SceneFileWriter(object)"remove_non_integer_files": True,"extension": file_writer_config["movie_file_extension"],}- if file_writer_config['from_animation_number'] is not None:- kwargs["min_index"] = file_writer_config['from_animation_number']- if file_writer_config['upto_animation_number'] not in [None, np.inf]:- kwargs["max_index"] = file_writer_config['upto_animation_number']+ if file_writer_config["from_animation_number"] is not None:+ kwargs["min_index"] = file_writer_config["from_animation_number"]- if file_writer_config["upto_animation_number"] is not None:++ if file_writer_config["upto_animation_number"] not in [None, np.inf]:+ kwargs["max_index"] = file_writer_config["upto_animation_number"]else:kwargs["remove_indices_greater_than"] = self.scene.num_plays - 1partial_movie_files = get_sorted_integer_files(