Daniel Pereira Daniel Pereira - 5 months ago 20
Python Question

Openpyxl updating sheet and maintaining graphs and images

I just created a script with openpyxl to update a xlsx file that we usually update manually every month.

It work fine, but the new file lost all the graphs and images that were in the workbook. Is there a way to keep them?

Answer Source

openpyxl version 2.5 will preserve charts in existing files.