Skip to content

Commit 208a03f

Browse files
committed
Replace plt.clf with plt.close
1 parent 3b99354 commit 208a03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dcore/dcore_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def print_chemical_potential(self):
9595

9696
def __plot_init(self):
9797
if self.plot_called:
98-
self.plt.clf()
98+
self.plt.close()
9999
self.plt.figure(figsize=(8, 6)) # default
100100
return
101101
self.plot_called = True

0 commit comments

Comments
 (0)