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

Method tx

src/pptx/chart/xmlwriter.py:158–170  ·  view source on GitHub ↗

Return a `` `` oxml element for this series, containing the series name.

(self)

Source from the content-addressed store, hash-verified

156
157 @property
158 def tx(self):
159 """
160 Return a ``<c:tx>`` oxml element for this series, containing the
161 series name.
162 """
163 xml = self._tx_tmpl.format(
164 **{
165 "wksht_ref": self._series.name_ref,
166 "series_name": self.name,
167 "nsdecls": " %s" % nsdecls("c"),
168 }
169 )
170 return parse_xml(xml)
171
172 @property
173 def tx_xml(self):

Callers

nothing calls this directly

Calls 3

nsdeclsFunction · 0.90
parse_xmlFunction · 0.90
formatMethod · 0.45

Tested by

no test coverage detected