1
0

Update display to 3D plots

This commit is contained in:
Thibault Barnouin
2021-11-05 10:57:32 +01:00
parent 925e5215be
commit 0d4cb52421
6 changed files with 10 additions and 7 deletions

View File

@@ -39,7 +39,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%50==0:
if not step is None and step%10==0:
self.fig.savefig("tmp/{0:05d}.png".format(step),bbox_inches="tight")
#Example