openpyxl icon indicating copy to clipboard operation
openpyxl copied to clipboard

How to draw shapes?

Open fhg-isi opened this issue 10 months ago • 0 comments

How can I draw shapes using openpyxl?

There seem to be some shape related classes like

PresetGeometry2D

and outdated classes like

https://openpyxl.readthedocs.io/en/2.4/api/openpyxl.drawing.shapes.html

However, I could not find an example on how to add shapes to a worksheet or chart.

image

Related:

https://stackoverflow.com/questions/74989259/how-can-i-add-and-modify-shapes-in-an-excel-file-using-python

https://stackoverflow.com/questions/38738706/how-to-drawing-shapes-using-xlsxwriter

fhg-isi avatar Apr 09 '24 09:04 fhg-isi