Added explicit file close calls.

这个提交包含在:
Craig Warren
2019-02-19 08:53:53 +00:00
父节点 3d9b934c63
当前提交 e63262cc53
共有 2 个文件被更改,包括 3 次插入0 次删除

查看文件

@@ -219,6 +219,8 @@ def mpl_plot(filename, outputs=Rx.defaultoutputs, fft=False):
# fig.savefig(os.path.splitext(os.path.abspath(filename))[0] + '_rx' + str(rx) + '.pdf', dpi=None, format='pdf', bbox_inches='tight', pad_inches=0.1)
# fig.savefig(os.path.splitext(os.path.abspath(filename))[0] + '_rx' + str(rx) + '.png', dpi=150, format='png', bbox_inches='tight', pad_inches=0.1)
f.close()
return plt