Added legend to saved figures

This commit is contained in:
Andreas Tsouchlos 2022-04-27 15:38:55 +02:00
parent c77e229d9c
commit 40a9bc5d98

View File

@ -87,6 +87,7 @@ class Displayer:
for t in range(1, n_steps):
callback(self, t)
self._ax.legend()
if t in frames:
self._fig.savefig(prefix + str(t) + "." + ext)