diff --git a/plotter/Plotter.py b/plotter/Plotter.py index 6e8467a69a6292243ea510ef1cfe9a64e3361063..e8e139d067c90a68c48823ae41b8fced62669d63 100755 --- a/plotter/Plotter.py +++ b/plotter/Plotter.py @@ -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)