Fixed minor bugs
This commit is contained in:
parent
87e2918ffd
commit
700ff6093e
3 changed files with 16 additions and 9 deletions
|
|
@ -20,6 +20,8 @@ config.read("config.ini")
|
|||
|
||||
inp = pathlib.Path(config.get("post", "inp"))
|
||||
root = pathlib.Path(config.get("swash", "out"))
|
||||
out = pathlib.Path(config.get("plot", "out"))
|
||||
out.mkdir(exist_ok=True)
|
||||
|
||||
|
||||
def data(var):
|
||||
|
|
@ -52,4 +54,4 @@ ani = animation.FuncAnimation(
|
|||
fig, animate, frames=wl[:, 0].size, interval=20, blit=True
|
||||
)
|
||||
|
||||
plt.show(block=True)
|
||||
ani.save(out.joinpath("anim.mp4"))
|
||||
|
|
|
|||
Reference in a new issue