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

Method axis_title

src/pptx/chart/axis.py:28–36  ·  view source on GitHub ↗

An |AxisTitle| object providing access to title properties. Calling this property is destructive in the sense that it adds an axis title element (`c:title`) to the axis XML if one is not already present. Use :attr:`has_title` to test for presence of axis title non-de

(self)

Source from the content-addressed store, hash-verified

26
27 @property
28 def axis_title(self):
29 """An |AxisTitle| object providing access to title properties.
30
31 Calling this property is destructive in the sense that it adds an
32 axis title element (`c:title`) to the axis XML if one is not already
33 present. Use :attr:`has_title` to test for presence of axis title
34 non-destructively.
35 """
36 return AxisTitle(self._element.get_or_add_title())
37
38 @lazyproperty
39 def format(self):

Callers

nothing calls this directly

Calls 2

AxisTitleClass · 0.85
get_or_add_titleMethod · 0.80

Tested by

no test coverage detected