fix: Fixed figure not closed in live report
This commit is contained in:
parent
8a1d0e94ee
commit
9235f5019c
@ -629,6 +629,7 @@ class LiveReportGenerator:
|
||||
|
||||
buf = io.BytesIO()
|
||||
fig.savefig(buf)
|
||||
plt.close(fig)
|
||||
buf.seek(0)
|
||||
return Image.open(buf)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user