PiePlot.data#
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()
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()