From 2ea351f7e421ff513305b5573677427164039615 Mon Sep 17 00:00:00 2001 From: Aditi Gautam Date: Fri, 22 Sep 2023 14:31:06 -0700 Subject: [PATCH] quashing --- doc/api/next_api_changes/removals/26871-AG.rst | 3 +++ lib/matplotlib/axis.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 doc/api/next_api_changes/removals/26871-AG.rst 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.