PiePlot.data#
- property PiePlot.data: pyvista_ndarray[source]#
Retrieve the sizes of the drawn segments.
Examples#
Download Python source code | Download Jupyter notebook
Create a pie plot and display the sizes.
>>> import pyvista as pv
>>> chart = pv.ChartPie([1, 2, 3])
>>> chart.plot.data
pyvista_ndarray([1, 2, 3])
>>> chart.show()