dexplo / dataframe_image

A python package for embedding pandas DataFrames as images into pdf and markdown documents
https://dexplo.org/dataframe_image
MIT License
278 stars 41 forks source link

[BUGFIX]: screenshot: Avoid holding the image resource. #69

Closed ItamarShalev closed 1 year ago

ItamarShalev commented 1 year ago

Since the image is already open by the screenshot function, chrome can't write to that file and throw the exception, Failed to write file The process cannot access the file because it is being used by another process.

Signed-off-by: Itamar Shalev itamar1111111@gmail.com