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

Method font

src/pptx/chart/chart.py:90–93  ·  view source on GitHub ↗

Font object controlling text format defaults for this chart.

(self)

Source from the content-addressed store, hash-verified

88
89 @lazyproperty
90 def font(self):
91 """Font object controlling text format defaults for this chart."""
92 defRPr = self._chartSpace.get_or_add_txPr().p_lst[0].get_or_add_pPr().get_or_add_defRPr()
93 return Font(defRPr)
94
95 @property
96 def has_legend(self):

Callers

nothing calls this directly

Calls 1

FontClass · 0.90

Tested by

no test coverage detected