MCPcopy Create free account
hub / github.com/scanny/python-pptx / get_or_add_title

Method get_or_add_title

src/pptx/oxml/chart/chart.py:124–126  ·  view source on GitHub ↗

Return the `c:title` grandchild, newly created if not present.

(self)

Source from the content-addressed store, hash-verified

122 return self.xpath("c:chart/c:plotArea/c:dateAx")
123
124 def get_or_add_title(self):
125 """Return the `c:title` grandchild, newly created if not present."""
126 return self.chart.get_or_add_title()
127
128 @property
129 def plotArea(self):

Callers 4

axis_titleMethod · 0.80
has_titleMethod · 0.80
chart_titleMethod · 0.80
has_titleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected