Skip to content

Commit

Permalink
Update plotting.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Nov 14, 2023
1 parent b9e5204 commit e69a68e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aslprep/interfaces/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _run_interface(self, runtime):
paired_carpet=has_cifti,
).plot()
fig.savefig(self._results["out_file"], bbox_inches="tight")
fig.close()
fig.clf()
return runtime


Expand Down Expand Up @@ -193,7 +193,7 @@ def _run_interface(self, runtime):
tr=self.inputs.tr,
).plot()
fig.savefig(self._results["out_file"], bbox_inches="tight")
fig.close()
fig.clf()
return runtime


Expand Down Expand Up @@ -257,6 +257,6 @@ def _run_interface(self, runtime):
)
fig.tight_layout()
fig.savefig(self._results["out_file"])
fig.close()
fig.clf()

return runtime

0 comments on commit e69a68e

Please sign in to comment.