A community-maintained Python framework for creating mathematical animations.
Added docstring to `Mobject.center` (#3353)
Benjamin Hackl50d663eb8b3b
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.pyindex bd356f088..72faf99ea 100644--- a/manim/mobject/mobject.py+++ b/manim/mobject/mobject.py@@ -1381,6 +1381,13 @@ class Mobject:# Positioning methodsdef center(self):+ """Moves the center of the mobject to the center of the scene.++ Returns+ -------+ :class:`.Mobject`+ The centered mobject.+ """self.shift(-self.get_center())return self