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

Method series_index

src/pptx/chart/data.py:65–72  ·  view source on GitHub ↗

Return the integer index of *series* in this sequence.

(self, series)

Source from the content-addressed store, hash-verified

63 return self._number_format
64
65 def series_index(self, series):
66 """
67 Return the integer index of *series* in this sequence.
68 """
69 for idx, s in enumerate(self):
70 if series is s:
71 return idx
72 raise ValueError("series not in chart data object")
73
74 def series_name_ref(self, series):
75 """

Callers 1

indexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected