From c424f8f4a131d9370acfd70c1ca95c16b1193539 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Fri, 18 Sep 2020 20:45:01 +0200 Subject: [PATCH] Polish The repeat option does not work. Apparently a Matplotlib bug. --- Analysis/plot_snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analysis/plot_snapshot.py b/Analysis/plot_snapshot.py index e60fc6d7..c74064f3 100755 --- a/Analysis/plot_snapshot.py +++ b/Analysis/plot_snapshot.py @@ -179,7 +179,7 @@ def make_animation(fig, ax, k1, ishape_last, reader_extr, reader_outer, ani = animation.FuncAnimation(fig, func, range(k_min, k_max + 1), fargs = (ax, ishape_lists, reader_extr, reader_outer, reader_m_s, bbox), - interval = 500, repeat = False) + interval = 500) return ani if __name__ == "__main__": -- GitLab