diff --git a/doc/api/next_api_changes/removals/26871-AG.rst b/doc/api/next_api_changes/removals/26871-AG.rst new file mode 100644 index 000000000000..9c24ac3215a1 --- /dev/null +++ b/doc/api/next_api_changes/removals/26871-AG.rst @@ -0,0 +1,3 @@ +``matplotlib.axis.Axis.set_ticklabels`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +... a param was renamed to labels from ticklabels. diff --git a/lib/matplotlib/axis.py b/lib/matplotlib/axis.py index 33d029028012..64aeac81c140 100644 --- a/lib/matplotlib/axis.py +++ b/lib/matplotlib/axis.py @@ -1941,7 +1941,6 @@ def set_pickradius(self, pickradius): def _format_with_dict(tickd, x, pos): return tickd.get(x, "") - @_api.rename_parameter("3.7", "ticklabels", "labels") def set_ticklabels(self, labels, *, minor=False, fontdict=None, **kwargs): r""" [*Discouraged*] Set this Axis' tick labels with list of string labels.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: