Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 310cab1

Browse filesBrowse files
committed
MNT : remove deprecated code from Annotation
Deprecated in PR #2351 Merged to master as da6c6b5
1 parent 48b8e6b commit 310cab1
Copy full SHA for 310cab1

File tree

Expand file treeCollapse file tree

2 files changed

+5
-24
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-24
lines changed

‎doc/api/api_changes/code_removal.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes/code_removal.rst
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ which takes care of ensuring the coupled changes are also made to the Axes objec
1515
finance.py
1616
----------
1717
Removed functions with ambiguous argument order from finance.py
18+
19+
20+
Annotation
21+
----------
22+
Removed ``textcoords`` and ``xytext`` proprieties from Annotation objects.

‎lib/matplotlib/text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/text.py
-24Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,30 +1723,6 @@ def draggable(self, state=None, use_blit=False):
17231723

17241724
return self._draggable
17251725

1726-
@property
1727-
@cbook.deprecated('1.4', message='Use `anncoords` instead',
1728-
name='textcoords', alternative='anncoords')
1729-
def textcoords(self):
1730-
return self.anncoords
1731-
1732-
@textcoords.setter
1733-
@cbook.deprecated('1.4', message='Use `anncoords` instead',
1734-
name='textcoords', alternative='anncoords')
1735-
def textcoords(self, val):
1736-
self.anncoords = val
1737-
1738-
@property
1739-
@cbook.deprecated('1.4', message='Use `xyann` instead',
1740-
name='xytext', alternative='xyann')
1741-
def xytext(self):
1742-
return self.xyann
1743-
1744-
@xytext.setter
1745-
@cbook.deprecated('1.4', message='Use `xyann` instead',
1746-
name='xytext', alternative='xyann')
1747-
def xytext(self, val):
1748-
self.xyann = val
1749-
17501726

17511727
class Annotation(Text, _AnnotationBase):
17521728
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.