Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix height setting in Ellipse initialization

James Norton741ed593b288
diff --git a/manimlib/mobject/geometry.py b/manimlib/mobject/geometry.py
index e7aa0d6a7..8ad462ceb 100644
--- a/manimlib/mobject/geometry.py
+++ b/manimlib/mobject/geometry.py
@@ -321,7 +321,7 @@ class Ellipse(Circle):
def __init__(self, **kwargs):
Circle.__init__(self, **kwargs)
self.set_width(self.width, stretch=True)
- self.set_height(self.width, stretch=True)
+ self.set_height(self.height, stretch=True)
class AnnularSector(Arc):