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

Class XyDataPoint

src/pptx/chart/data.py:823–846  ·  view source on GitHub ↗

A data point in an XY chart series. Provides access to the x and y values of the datapoint.

Source from the content-addressed store, hash-verified

821
822
823class XyDataPoint(_BaseDataPoint):
824 """
825 A data point in an XY chart series. Provides access to the x and y values
826 of the datapoint.
827 """
828
829 def __init__(self, series_data, x, y, number_format):
830 super(XyDataPoint, self).__init__(series_data, number_format)
831 self._x = x
832 self._y = y
833
834 @property
835 def x(self):
836 """
837 The X value for this XY data point.
838 """
839 return self._x
840
841 @property
842 def y(self):
843 """
844 The Y value for this XY data point.
845 """
846 return self._y
847
848
849class BubbleDataPoint(XyDataPoint):

Callers 3

value_fixtureMethod · 0.90
add_data_pointMethod · 0.85

Calls

no outgoing calls

Tested by 2

value_fixtureMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…