Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:oscarbranson/latools into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbranson committed Sep 12, 2023
2 parents 1acb47b + 4329658 commit aa3084f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions latools/latools.py
Original file line number Diff line number Diff line change
Expand Up @@ -3586,10 +3586,10 @@ def trace_plots(self, analytes=None, samples=None, ranges=False,
# ax.axvspan(l, u, color='r', alpha=0.1)
# for l, u in s.bkgrng:
# ax.axvspan(l, u, color='k', alpha=0.1)
f.savefig(os.path.join(outdir, s + '_traces.pdf'))
with open(os.path.join(outdir, s + '_traces.pdf')) as file:
f.savefig(file)
# TODO: on older(?) computers raises
# 'OSError: [Errno 24] Too many open files'
plt.close(f)
prog.update()
return

Expand Down

0 comments on commit aa3084f

Please sign in to comment.