I am saving matplotlib files as .tiff images. I\'d like to be able to then open an excel file and paste the image there.
openpyxl doesnot seem to support image embed
This worked out for me:
import openpyxl wb = openpyxl.load_workbook('input.xlsx') ws = wb.active img = openpyxl.drawing.image.Image('myplot.png') ws.add_image(ws.cell('A1')) ws.save('output.xlsx')