Skip to content

Commit ff552f4

Browse files
authored
Remove the 3.7 deprecated code from axis.py (#26871)
1 parent dd97219 commit ff552f4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``matplotlib.axis.Axis.set_ticklabels``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... a param was renamed to labels from ticklabels.

lib/matplotlib/axis.py

-1
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,6 @@ def set_pickradius(self, pickradius):
19411941
def _format_with_dict(tickd, x, pos):
19421942
return tickd.get(x, "")
19431943

1944-
@_api.rename_parameter("3.7", "ticklabels", "labels")
19451944
def set_ticklabels(self, labels, *, minor=False, fontdict=None, **kwargs):
19461945
r"""
19471946
[*Discouraged*] Set this Axis' tick labels with list of string labels.

0 commit comments

Comments
 (0)