python-pptx icon indicating copy to clipboard operation
python-pptx copied to clipboard

add_chart() returns `GraphicFrame` object but typed return annotation is `Chart`

Open akenmor opened this issue 1 year ago • 0 comments

pptx.shapes.shapetree._BaseGroupShapes.add_chart() returns GraphicFrame object but typed return annotation is Chart. This is causing issues with typecheckers.

akenmor avatar Dec 10 '24 19:12 akenmor