Skip to content

Commit

Permalink
Merge pull request #143 from issp-center-dev/check_close
Browse files Browse the repository at this point in the history
Replace plt.clf with plt.close
  • Loading branch information
j-otsuki authored Jun 27, 2024
2 parents 3b99354 + 208a03f commit 02fb783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dcore/dcore_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02fb783

Please sign in to comment.