Skip to content

Commit ed7afa2

Browse files
authored
Update util.py
1 parent 0e306fc commit ed7afa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ def write_movie(
5454

5555
with writer.saving(fig, f"{name}.gif", 100):
5656
for pos in pos_list:
57-
l.set_data(pos[0], pos[1])
57+
l.set_data([pos[0]], [pos[1]])
5858
writer.grab_frame()

0 commit comments

Comments
 (0)