Skip to content

Commit 9a432cc

Browse files
committed
BUG: Missing return on xytext property
1 parent c74dfa5 commit 9a432cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,7 +1647,7 @@ def textcoords(self, val):
16471647
@cbook.deprecated('1.4', message='Use `xyann` instead',
16481648
name='xytext', alternative='xyann')
16491649
def xytext(self):
1650-
self.xyann
1650+
return self.xyann
16511651

16521652
@xytext.setter
16531653
@cbook.deprecated('1.4', message='Use `xyann` instead',

0 commit comments

Comments
 (0)