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

Method tx_xml

src/pptx/chart/xmlwriter.py:173–184  ·  view source on GitHub ↗

Return the `` `` (tx is short for 'text') element for this series as unicode text. This element contains the series name.

(self)

Source from the content-addressed store, hash-verified

171
172 @property
173 def tx_xml(self):
174 """
175 Return the ``<c:tx>`` (tx is short for 'text') element for this
176 series as unicode text. This element contains the series name.
177 """
178 return self._tx_tmpl.format(
179 **{
180 "wksht_ref": self._series.name_ref,
181 "series_name": self.name,
182 "nsdecls": "",
183 }
184 )
185
186 @property
187 def _tx_tmpl(self):

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected