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

Method series_table_row_offset

src/pptx/chart/xlsx.py:193–200  ·  view source on GitHub ↗

Return the number of rows preceding the data table for *series* in the Excel worksheet.

(self, series)

Source from the content-addressed store, hash-verified

191 return "Sheet1!$B$%d" % row
192
193 def series_table_row_offset(self, series):
194 """
195 Return the number of rows preceding the data table for *series* in
196 the Excel worksheet.
197 """
198 title_and_spacer_rows = series.index * 2
199 data_point_rows = series.data_point_offset
200 return title_and_spacer_rows + data_point_rows
201
202 def x_values_ref(self, series):
203 """

Callers 6

series_name_refMethod · 0.95
x_values_refMethod · 0.95
y_values_refMethod · 0.95
_populate_worksheetMethod · 0.95
bubble_sizes_refMethod · 0.80
_populate_worksheetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected