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

Lines changed: 5 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy