Skip to content

Commit 9199a4b

Browse files
committed
quashing
1 parent f1630a7 commit 9199a4b

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

doc/api/next_api_changes/removals/-AG.rst

Whitespace-only changes.
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.

lib/matplotlib/axis.pyi

+8
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,14 @@ class Axis(martist.Artist):
222222
def set_major_locator(self, locator: Locator) -> None: ...
223223
def set_minor_locator(self, locator: Locator) -> None: ...
224224
def set_pickradius(self, pickradius: float) -> None: ...
225+
def set_ticklabels(
226+
self,
227+
labels: Iterable[str | Text],
228+
*,
229+
minor: bool = ...,
230+
fontdict: dict[str, Any] | None = ...,
231+
**kwargs
232+
) -> list[Text]: ...
225233
def set_ticks(
226234
self,
227235
ticks: ArrayLike,

0 commit comments

Comments
 (0)