Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix bare except clause in manim/utils/rate_functions.py (#4891)

Kotesh Kumar Yelamati151f70536c88
diff --git a/manim/utils/rate_functions.py b/manim/utils/rate_functions.py
index 6b9a30f6a..8b0ff66a2 100644
--- a/manim/utils/rate_functions.py
+++ b/manim/utils/rate_functions.py
@@ -34,7 +34,7 @@ for the non-standard ones
.next_to(plot_bg, UP, buff=0.1)
)
x.add(VGroup(plot_bg, plot, plot_title))
- except: # because functions `not_quite_there`, `function squish_rate_func` are not working.
+ except Exception: # because functions `not_quite_there`, `function squish_rate_func` are not working.
pass
x.arrange_in_grid(cols=8)
x.height = config.frame_height