I am trying to add placeholders to my slide using python pptx. But the place holders always end up in the top left of the slide and comes up as size 0. I think this may be something to do with the placeholder not being defined in the layout? Is it possible to provide the position and size of the placeholder?
I used the below lines when trying to add a placeholder:
chart_pp = pptx.shapes.placeholder.PP_PLACEHOLDER.CHART
slide.shapes.placeholders.element.add_placeholder(id_ = 2, name = "chart",
ph_type=chart_pp, orient = "horz", sz= "full", idx = 9)