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

Skip to content

Commit 0c7738a

Browse files
committed
Merge pull request matplotlib#3501 from cimarronm/text_xytext_bugfix
BUG : Bugfix for text.xytext property
1 parent c103278 commit 0c7738a

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)