[plotter] allow partial save

This commit is contained in:
Noe Brucy
2021-06-14 11:43:12 +02:00
parent 7b3dd2cead
commit 634d2916a6
+1 -1
View File
@@ -388,7 +388,7 @@ class Plotter(Aggregator, BaseProcessor):
if not self.pp_params.out.interactive and close: if not self.pp_params.out.interactive and close:
plt.tight_layout(pad=1) plt.tight_layout(pad=1)
if self.pp_params.out.save and close: if self.pp_params.out.save:
plt.savefig(plot_filename) plt.savefig(plot_filename)
self._log("{} plotted".format(plot_filename), "SUCCESS") self._log("{} plotted".format(plot_filename), "SUCCESS")
else: else: