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

Method _rewrite_ser_data

src/pptx/chart/xmlwriter.py:264–269  ·  view source on GitHub ↗

Rewrite selected child elements of *ser* based on the values in *series_data*.

(self, ser, series_data, date_1904)

Source from the content-addressed store, hash-verified

262 self._trim_ser_count_by(plotArea, abs(ser_count_diff))
263
264 def _rewrite_ser_data(self, ser, series_data, date_1904):
265 """
266 Rewrite selected child elements of *ser* based on the values in
267 *series_data*.
268 """
269 raise NotImplementedError("must be implemented by each subclass")
270
271 def _trim_ser_count_by(self, plotArea, count):
272 """

Callers 1

replace_series_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected