Added legend to saved figures
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user