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

Method font

src/pptx/chart/datalabel.py:23–30  ·  view source on GitHub ↗

The |Font| object that provides access to the text properties for these data labels, such as bold, italic, etc.

(self)

Source from the content-addressed store, hash-verified

21
22 @lazyproperty
23 def font(self):
24 """
25 The |Font| object that provides access to the text properties for
26 these data labels, such as bold, italic, etc.
27 """
28 defRPr = self._element.defRPr
29 font = Font(defRPr)
30 return font
31
32 @property
33 def number_format(self):

Callers

nothing calls this directly

Calls 1

FontClass · 0.90

Tested by

no test coverage detected