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

Skip to content

Commit d38af6a

Browse files
authored
Merge pull request #23463 from oscargus/ticklabeldeprecation
Deprecate Tick.label
2 parents 4259c18 + 9631bf1 commit d38af6a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
``Tick.label``
2+
~~~~~~~~~~~~~~
3+
4+
... has been pending deprecation since 3.1 and is now deprecated.
5+
Use ``Tick.label1`` instead.

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def __init__(
188188
self.update_position(loc)
189189

190190
@property
191-
@_api.deprecated("3.1", alternative="Tick.label1", pending=True)
191+
@_api.deprecated("3.1", alternative="Tick.label1", removal="3.8")
192192
def label(self):
193193
return self.label1
194194

0 commit comments

Comments
 (0)