8000 Merge pull request #20933 from meeseeksmachine/auto-backport-of-pr-20… · matplotlib/matplotlib@9570619 · GitHub
[go: up one dir, main page]

Skip to content
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 9570619

Browse files
authored
Merge pull request #20933 from meeseeksmachine/auto-backport-of-pr-20916-on-v3.5.x
2 parents 3bbdbdf + 9ba2762 commit 9570619

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/matplotlib/animation.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -888,9 +888,11 @@ def __del__(self):
888888
if not getattr(self, '_draw_was_started', True):
889889
warnings.warn(
890890
'Animation was deleted without rendering anything. This is '
891-
'most likely unintended. To prevent deletion, assign the '
892-
'Animation to a variable that exists for as long as you need '
893-
'the Animation.')
891+
'most likely not intended. To prevent deletion, assign the '
892+
'Animation to a variable, e.g. `anim`, that exists until you '
893+
'have outputted the Animation using `plt.show()` or '
894+
'`anim.save()`.'
895+
)
894896

895897
def _start(self, *args):
896898
"""

0 commit comments

Comments
 (0)
0