Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 276a9f3 + 0d80b82 commit bf5d69bCopy full SHA for bf5d69b
lib/matplotlib/animation.py
@@ -888,9 +888,11 @@ 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, e.g. `anim`, that exists until you '
+ 'have outputted the Animation using `plt.show()` or '
894
+ '`anim.save()`.'
895
+ )
896
897
def _start(self, *args):
898
"""
0 commit comments