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

Method iter_values

src/pptx/chart/series.py:174–185  ·  view source on GitHub ↗

Generate each float Y value in this series, in the order they appear on the chart. A value of `None` represents a missing Y value (corresponding to a blank Excel cell).

(self)

Source from the content-addressed store, hash-verified

172 """
173
174 def iter_values(self):
175 """
176 Generate each float Y value in this series, in the order they appear
177 on the chart. A value of `None` represents a missing Y value
178 (corresponding to a blank Excel cell).
179 """
180 yVal = self._element.yVal
181 if yVal is None:
182 return
183
184 for idx in range(yVal.ptCount_val):
185 yield yVal.pt_v(idx)
186
187 @lazyproperty
188 def points(self):

Callers 1

valuesMethod · 0.95

Calls 1

pt_vMethod · 0.80

Tested by

no test coverage detected