scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.49k stars 535 forks source link

Advenced chart types (hist, sunburst, tree...)not detected (no shapes for the object) #386

Open bashsebbash opened 6 years ago

bashsebbash commented 6 years ago

Microsoft just added these in, so not surprised that they are not detected. Some are populated pretty easily by multi-indexed pandas Series.

What's weird is that there isn't a shape for them. That is, if a slide has a text box, a line chart and a histogram; calling list(prs.slides[0].shapes) returns a list of only 2 shapes.

I wish I could be more helpful in how I phrased this. For now I'm probably going to stick to making these types of charts with Bokeh, but stylistically it'd be great to be able to access these shapes.

JuliaSchulzIpsos commented 3 years ago

I have the same issue - so there's no solution yet 3 years later?