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

Skip to content

Commit d8d28a7

Browse files
committed
Removed namespace clobbering (animation)
1 parent 0eb7abb commit d8d28a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/animation/unchained.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ def update(*args):
5858

5959
# Construct the animation, using the update function as the animation
6060
# director.
61-
animation = animation.FuncAnimation(fig, update, interval=10)
61+
anim = animation.FuncAnimation(fig, update, interval=10)
6262
plt.show()

0 commit comments

Comments
 (0)