Merge pull request #467 from indiejames/Fix-Ellipse-height

Fix height setting in Ellipse initialization
This commit is contained in:
Grant Sanderson
2019-03-07 15:44:16 -08:00
committed by GitHub

View File

@ -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):