plot#

property ChartPie.plot#

Return the PiePlot instance associated with this chart.

Examples

Create a pie plot with segments of increasing size.

>>> import pyvista
>>> chart = pyvista.ChartPie([1, 2, 3, 4, 5])
>>> chart.show()
../../../../_images/pyvista-ChartPie-plot-1_00_00.png

Update the pie plot (segments of equal size).

>>> chart.plot.update([1, 1, 1, 1, 1])
>>> chart.show()
../../../../_images/pyvista-ChartPie-plot-1_01_00.png