data#

property PiePlot.data#

Retrieve the sizes of the drawn segments.

Examples

Create a pie plot and display the sizes.

>>> import pyvista
>>> chart = pyvista.ChartPie([1, 2, 3])
>>> chart.plot.data
pyvista_ndarray([1, 2, 3])
>>> chart.show()
../../../../_images/pyvista-plotting-charts-PiePlot-data-1_00_00.png