scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.35k stars 510 forks source link

Add pictures to master slides #824

Open ricardormotta opened 2 years ago

ricardormotta commented 2 years ago

As told by @rymarczy, this could fix this issue, as tested locally in my venv. The approach is:

"I haven't tested this extensively, but changing the the inheritance of the LayoutShapes class in shapetree.py from _BaseShapes to _BaseGroupShapes appears to allow this behavior."

Originally posted by @rymarczy in https://github.com/scanny/python-pptx/issues/575#issuecomment-765731041