mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Merge pull request #467 from indiejames/Fix-Ellipse-height
Fix height setting in Ellipse initialization
This commit is contained in:
@ -321,7 +321,7 @@ class Ellipse(Circle):
|
|||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
Circle.__init__(self, **kwargs)
|
Circle.__init__(self, **kwargs)
|
||||||
self.set_width(self.width, stretch=True)
|
self.set_width(self.width, stretch=True)
|
||||||
self.set_height(self.width, stretch=True)
|
self.set_height(self.height, stretch=True)
|
||||||
|
|
||||||
|
|
||||||
class AnnularSector(Arc):
|
class AnnularSector(Arc):
|
||||||
|
Reference in New Issue
Block a user