Skip to content

Commit d9f7f77

Browse files
committed
change title to sentence case
1 parent 0787024 commit d9f7f77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/animation/simple_scatter.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
=============================
3-
Animated Scatter Saved as Gif
3+
Animated scatter saved as GIF
44
=============================
55
66
"""
@@ -17,12 +17,12 @@
1717

1818
def animate(i):
1919
scat.set_offsets((x[i], 0))
20-
return scat,
20+
return (scat,)
2121

22-
ani = animation.FuncAnimation(fig, animate, repeat=True,
23-
frames=len(x) - 1, interval=50)
22+
ani = animation.FuncAnimation(fig, animate, repeat=True, frames=len(x) - 1,
23+
interval=50)
2424

25-
# To save the animation using Pillow as a gif
25+
# To save the animation using Pillow as a gifs
2626
# writer = animation.PillowWriter(fps=15,
2727
# metadata=dict(artist='Me'),
2828
# bitrate=1800)

0 commit comments

Comments
 (0)