Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9199a4b

Browse filesBrowse files
committed
quashing
1 parent f1630a7 commit 9199a4b
Copy full SHA for 9199a4b

File tree

4 files changed

+11
-1
lines changed
Filter options

4 files changed

+11
-1
lines changed

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

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/removals/-AG.rst
Whitespace-only changes.
+3Lines changed: 3 additions & 0 deletions
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

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
-1Lines changed: 0 additions & 1 deletion
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

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.pyi
+8Lines changed: 8 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.