Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix line_join to joint_type in example_scenes/basic.py (#3510)

szchixy27d53606d4f9
diff --git a/example_scenes/basic.py b/example_scenes/basic.py
index cf5f47522..e61ae01f6 100644
--- a/example_scenes/basic.py
+++ b/example_scenes/basic.py
@@ -167,8 +167,8 @@ Triangle.set_default(stroke_width=20)
class LineJoints(Scene):
def construct(self):
t1 = Triangle()
- t2 = Triangle(line_join=LineJointType.ROUND)
- t3 = Triangle(line_join=LineJointType.BEVEL)
+ t2 = Triangle(joint_type=LineJointType.ROUND)
+ t3 = Triangle(joint_type=LineJointType.BEVEL)
grp = VGroup(t1, t2, t3).arrange(RIGHT)
grp.set(width=config.frame_width - 1)