Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/api/next_api_changes/removals/26872-AD.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
``repeat``
~~~~~~~~~~
... of `.TimedAnimation` is removed without replacements.
``save_count``
~~~~~~~~~~~~~~
... of `.FuncAnimation` is removed without replacements.
4 changes: 0 additions & 4 deletions lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1446,8 +1446,6 @@ def _step(self, *args):
self.event_source.interval = self._interval
return True

repeat = _api.deprecate_privatize_attribute("3.7")


class ArtistAnimation(TimedAnimation):
"""
Expand Down Expand Up @@ -1788,8 +1786,6 @@ def _draw_frame(self, framedata):
for a in self._drawn_artists:
a.set_animated(self._blit)

save_count = _api.deprecate_privatize_attribute("3.7")


def _validate_grabframe_kwargs(savefig_kwargs):
if mpl.rcParams['savefig.bbox'] == 'tight':
Expand Down
2 changes: 0 additions & 2 deletions lib/matplotlib/animation.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ class Animation:
def resume(self) -> None: ...

class TimedAnimation(Animation):
repeat: bool
def __init__(
self,
fig: Figure,
Expand All @@ -204,7 +203,6 @@ class ArtistAnimation(TimedAnimation):
def __init__(self, fig: Figure, artists: Sequence[Collection[Artist]], *args, **kwargs) -> None: ...

class FuncAnimation(TimedAnimation):
save_count: int
def __init__(
self,
fig: Figure,
Expand Down