Skip to content

Commit

Permalink
[cli._manage_timedep_ploting_and_saving_options] don't close figure w…
Browse files Browse the repository at this point in the history
…hen saving (else you can't both save AND have the figure shown)
  • Loading branch information
gph82 committed Aug 9, 2024
1 parent 10c5f16 commit 739074e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdciao/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _manage_timedep_ploting_and_saving_options(ctc_grp,
fname = _path.join(fn.output_dir, iname)
ifig.axes[0].set_title("%s" % title) # TODO consider firstname lastname
ifig.savefig(fname, bbox_inches="tight", dpi=fn.graphic_dpi)
_plt.close(ifig)
#_plt.close(ifig)
print(fname)

# even if no figures were produced or saved, we can still save the trajs
Expand Down

0 comments on commit 739074e

Please sign in to comment.