Skip to content
Snippets Groups Projects
Commit 80635497 authored by 数学の武士's avatar 数学の武士
Browse files

fps -> duration

parent 7f34d80b
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,8 @@ class Plotter:
for file_name in png_names:
images.append(imageio.v2.imread(file_name))
imageio.mimsave(self.oname[0], images, fps = 5, loop = 0)
# imageio.mimsave(self.oname[0], images, fps = 5, loop = 0) , duration = 0.04
imageio.mimsave(self.oname[0], images, duration = 0.25, loop = 0)
shutil.rmtree(self.ani_pngs_dir)
def __plot_contour(self):
......@@ -359,7 +360,9 @@ class Plotter:
for file_name in png_names:
images.append(imageio.v2.imread(file_name))
imageio.mimsave(self.out + fig_names[i] + fig_end, images, fps = 5, loop=0)
# imageio.mimsave(self.out + fig_names[i] + fig_end, images, fps = 5, loop=0)
imageio.mimsave(self.out + fig_names[i] + fig_end, images, duration = 0.25, loop=0)
# imageio.mimsave(self.oname[0], images, duration = 0.25, loop = 0)
i += 1
shutil.rmtree(self.ani_pngs_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment