Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Taking leotrs's review in account

MysaaJava2d529bf21cc0
diff --git a/logo/logo.py b/logo/logo.py
index 4bab861d7..b20d6a3d6 100644
--- a/logo/logo.py
+++ b/logo/logo.py
@@ -98,9 +98,7 @@ class Thumbnail(GraphScene):
graph_dot_p2.move_to(get_graph_point(input_tracker_p2))
#
- self.play(
- ShowCreation(graph),
- )
+ self.play(ShowCreation(graph))
# Animacion del punto a
self.add_foreground_mobject(graph_dot_p1)
self.add_foreground_mobject(graph_dot_p2)
diff --git a/manim/animation/numbers.py b/manim/animation/numbers.py
index c8b0c2d67..c45ac9838 100644
--- a/manim/animation/numbers.py
+++ b/manim/animation/numbers.py
@@ -23,7 +23,7 @@ class ChangingDecimal(Animation):
def check_validity_of_input(self, decimal_mob):
if not isinstance(decimal_mob, DecimalNumber):
- raise TypeError("ChangingDecimal can only take " "in a DecimalNumber")
+ raise TypeError("ChangingDecimal can only take in a DecimalNumber")
def yell_about_depricated_configuration(self, **kwargs):
# Obviously this would optimally be removed at
diff --git a/manim/mobject/svg/svg_mobject.py b/manim/mobject/svg/svg_mobject.py
index 1e343dcb3..9fe65d26d 100644
--- a/manim/mobject/svg/svg_mobject.py
+++ b/manim/mobject/svg/svg_mobject.py
@@ -396,7 +396,7 @@ class VMobjectFromSVGPathstring(VMobject):
# TODO, this is a suboptimal approximation
new_points = np.append([new_points[0]], new_points, axis=0)
elif command == "A": # elliptical Arc
- raise NotImplementedError("Not yet implemented")
+ raise NotImplementedError()
elif command == "Z": # closepath
return