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

Skip to content

Commit 0d80b82

Browse files
committed
DOC: tweak wording around variable naming
1 parent 166fdf2 commit 0d80b82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/animation.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,8 +889,10 @@ def __del__(self):
889889
warnings.warn(
890890
'Animation was deleted without rendering anything. This is '
891891
'most likely not intended. To prevent deletion, assign the '
892-
'Animation to a variable `anim` that exists until you have '
893-
'outputted the Animation using `plt.show()` or `anim.save()`.')
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)