A community-maintained Python framework for creating mathematical animations.
fix get_anchors for VMobjects
Devin992d364913c0
diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.pyindex 3c7460068..709198384 100644--- a/manimlib/mobject/types/vectorized_mobject.py+++ b/manimlib/mobject/types/vectorized_mobject.py@@ -658,6 +658,8 @@ class VMobject(Mobject):return self.points[nppcc - 1::nppcc]def get_anchors(self):+ if self.points.shape[0] == 1:+ return self.pointsreturn np.array(list(it.chain(*zip(self.get_start_anchors(),self.get_end_anchors(),