We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57db263 commit 166fdf2Copy full SHA for 166fdf2
lib/matplotlib/animation.py
@@ -888,9 +888,9 @@ def __del__(self):
888
if not getattr(self, '_draw_was_started', True):
889
warnings.warn(
890
'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.')
+ 'most likely not intended. To prevent deletion, assign the '
+ 'Animation to a variable `anim` that exists until you have '
+ 'outputted the Animation using `plt.show()` or `anim.save()`.')
894
895
def _start(self, *args):
896
"""
0 commit comments