Skip to content

Commit 790c743

Browse files
committed
DOC: set save count in 3 animation examples
1 parent bbeb86f commit 790c743

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/animation/rain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ def update(frame_number):
6767

6868

6969
# Construct the animation, using the update function as the animation director.
70-
animation = FuncAnimation(fig, update, interval=10)
70+
animation = FuncAnimation(fig, update, interval=10, save_count=100)
7171
plt.show()

examples/animation/strip_chart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ def emitter(p=0.1):
6161

6262
# pass a generator in "emitter" to produce data for the update func
6363
ani = animation.FuncAnimation(fig, scope.update, emitter, interval=50,
64-
blit=True)
64+
blit=True, save_count=100)
6565

6666
plt.show()

examples/animation/unchained.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ def update(*args):
6969
return lines
7070

7171
# Construct the animation, using the update function as the animation director.
72-
anim = animation.FuncAnimation(fig, update, interval=10)
72+
anim = animation.FuncAnimation(fig, update, interval=10, save_count=100)
7373
plt.show()

0 commit comments

Comments
 (0)