diff --git a/src/dcore/dcore_check.py b/src/dcore/dcore_check.py index af02fcc8..b532c55e 100644 --- a/src/dcore/dcore_check.py +++ b/src/dcore/dcore_check.py @@ -95,7 +95,7 @@ def print_chemical_potential(self): def __plot_init(self): if self.plot_called: - self.plt.clf() + self.plt.close() self.plt.figure(figsize=(8, 6)) # default return self.plot_called = True