Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cc0a65

Browse files
committed
Replace Ellipse.verts by Ellipse.get_verts()
svn path=/trunk/matplotlib/; revision=3162
1 parent 0c7cec9 commit 2cc0a65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def draw(self, renderer):
761761
if self._hatch:
762762
gc.set_hatch(self._hatch )
763763

764-
tverts = self.get_transform().seq_xy_tups(self.verts) # center is first vert
764+
tverts = self.get_transform().seq_xy_tups(self.get_verts()) # center is first vert
765765
width = tverts[3,0] - tverts[1,0]
766766
height = tverts[2,1] - tverts[4,1]
767767

0 commit comments

Comments
 (0)