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

Method get_dLbl

src/pptx/oxml/chart/series.py:176–184  ·  view source on GitHub ↗

Return the `c:dLbl` element representing the label for the data point at offset *idx* in this series, or |None| if not present.

(self, idx)

Source from the content-addressed store, hash-verified

174 return int(vals[0])
175
176 def get_dLbl(self, idx):
177 """
178 Return the `c:dLbl` element representing the label for the data point
179 at offset *idx* in this series, or |None| if not present.
180 """
181 dLbls = self.dLbls
182 if dLbls is None:
183 return None
184 return dLbls.get_dLbl_for_point(idx)
185
186 def get_or_add_dLbl(self, idx):
187 """

Callers 1

_dLblMethod · 0.80

Calls 1

get_dLbl_for_pointMethod · 0.80

Tested by

no test coverage detected