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

Method iter_sers

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

Generate each of the `c:ser` elements in this chart, ordered first by the document order of the containing xChart element, then by their ordering within the xChart element (not necessarily document order).

(self)

Source from the content-addressed store, hash-verified

182 valAx = ZeroOrMore("c:valAx")
183
184 def iter_sers(self):
185 """
186 Generate each of the `c:ser` elements in this chart, ordered first by
187 the document order of the containing xChart element, then by their
188 ordering within the xChart element (not necessarily document order).
189 """
190 for xChart in self.iter_xCharts():
191 for ser in xChart.iter_sers():
192 yield ser
193
194 def iter_xCharts(self):
195 """

Callers 1

sersMethod · 0.95

Calls 1

iter_xChartsMethod · 0.95

Tested by

no test coverage detected