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

Method iter_sers

src/pptx/oxml/chart/plot.py:83–92  ·  view source on GitHub ↗

Generate each `` `` child element in this xChart in c:order/@val sequence (not document or c:idx order).

(self)

Source from the content-addressed store, hash-verified

81 return val
82
83 def iter_sers(self):
84 """
85 Generate each ``<c:ser>`` child element in this xChart in
86 c:order/@val sequence (not document or c:idx order).
87 """
88
89 def ser_order(ser):
90 return ser.order.val
91
92 return (ser for ser in sorted(self.xpath("./c:ser"), key=ser_order))
93
94 @property
95 def sers(self):

Callers 1

sersMethod · 0.95

Calls 1

xpathMethod · 0.45

Tested by

no test coverage detected