When trying to export a range of cells that contain a chart, the image chart cames with two white borders as shown in the image
The script is simply:
import excel2img
# Save as PNG the range of used cells in test.xlsx on page named "Sheet1"
excel2img.export_img("template.xlsx", "test.png", "Sheet1", "Sheet1!F2:M17")
The excel file is like this:
I even tried to put white background, without borders and make the chart surpass a little the cells, but that two borders came anyway.
When trying to export a range of cells that contain a chart, the image chart cames with two white borders as shown in the image
The script is simply:
The excel file is like this:
I even tried to put white background, without borders and make the chart surpass a little the cells, but that two borders came anyway.