Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd4aaba

Browse files
authored
Merge branch 'matplotlib:main' into ghc-gridspec-deprecation
2 parents 61b66f4 + ff552f4 commit fd4aaba

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed
Lines 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.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
``repeat``
2+
~~~~~~~~~~
3+
... of `.TimedAnimation` is removed without replacements.
4+
``save_count``
5+
~~~~~~~~~~~~~~
6+
... of `.FuncAnimation` is removed without replacements.

lib/matplotlib/animation.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,8 +1446,6 @@ def _step(self, *args):
14461446
self.event_source.interval = self._interval
14471447
return True
14481448

1449-
repeat = _api.deprecate_privatize_attribute("3.7")
1450-
14511449

14521450
class ArtistAnimation(TimedAnimation):
14531451
"""
@@ -1788,8 +1786,6 @@ def _draw_frame(self, framedata):
17881786
for a in self._drawn_artists:
17891787
a.set_animated(self._blit)
17901788

1791-
save_count = _api.deprecate_privatize_attribute("3.7")
1792-
17931789

17941790
def _validate_grabframe_kwargs(savefig_kwargs):
17951791
if mpl.rcParams['savefig.bbox'] == 'tight':

lib/matplotlib/animation.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ class Animation:
188188
def resume(self) -> None: ...
189189

190190
class TimedAnimation(Animation):
191-
repeat: bool
192191
def __init__(
193192
self,
194193
fig: Figure,
@@ -204,7 +203,6 @@ class ArtistAnimation(TimedAnimation):
204203
def __init__(self, fig: Figure, artists: Sequence[Collection[Artist]], *args, **kwargs) -> None: ...
205204

206205
class FuncAnimation(TimedAnimation):
207-
save_count: int
208206
def __init__(
209207
self,
210208
fig: Figure,

lib/matplotlib/axis.py

Lines 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.

0 commit comments

Comments
 (0)