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

Method series_name_ref

src/pptx/chart/xlsx.py:184–191  ·  view source on GitHub ↗

Return the Excel worksheet reference to the cell containing the name for *series*. This also serves as the column heading for the series Y values.

(self, series)

Source from the content-addressed store, hash-verified

182 """
183
184 def series_name_ref(self, series):
185 """
186 Return the Excel worksheet reference to the cell containing the name
187 for *series*. This also serves as the column heading for the series
188 Y values.
189 """
190 row = self.series_table_row_offset(series) + 1
191 return "Sheet1!$B$%d" % row
192
193 def series_table_row_offset(self, series):
194 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected