Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Allow chaining on .set_fill_by_checkerboard (#883)

Mark Miller00d41633a8fb
diff --git a/manim/mobject/three_dimensions.py b/manim/mobject/three_dimensions.py
index 6c41acb9c..f4c52dd56 100644
--- a/manim/mobject/three_dimensions.py
+++ b/manim/mobject/three_dimensions.py
@@ -114,6 +114,7 @@ class ParametricSurface(VGroup):
for face in self:
c_index = (face.u_index + face.v_index) % n_colors
face.set_fill(colors[c_index], opacity=opacity)
+ return self
# Specific shapes