Skip to content

Commit

Permalink
Revert to simple progress_description_len default
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 3, 2023
1 parent bc10778 commit 12dc124
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manimlib/scene/scene_file_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(
show_file_location_upon_completion: bool = False,
quiet: bool = False,
total_frames: int = 0,
progress_description_len: int | None = None,
progress_description_len: int = 40,
):
self.scene: Scene = scene
self.write_to_movie = write_to_movie
Expand All @@ -62,8 +62,7 @@ def __init__(
self.show_file_location_upon_completion = show_file_location_upon_completion
self.quiet = quiet
self.total_frames = total_frames
self.progress_description_len = progress_description_len or \
40 if total_frames > 0 else 80
self.progress_description_len = progress_description_len

# State during file writing
self.writing_process: sp.Popen | None = None
Expand Down

0 comments on commit 12dc124

Please sign in to comment.