1
0

play with IC

This commit is contained in:
Thibault Barnouin
2021-11-05 18:35:51 +01:00
parent fff1832e61
commit 24e544c43a
5 changed files with 7 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class DynamicUpdate():
#We need to draw *and* flush
self.fig.canvas.draw()
self.fig.canvas.flush_events()
if not step is None and step%100==0:
if not step is None and step%10==0:
self.fig.savefig("tmp/{0:05d}.png".format(step),bbox_inches="tight")
#Example