visible

property PiePlot.visible

Return or set the this plot’s visibility.

Examples

Create a pie plot.

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

Hide it.

>>> plot.visible = False
>>> chart.show()
../../../../_images/pyvista-plotting-charts-PiePlot-visible-1_01_00.png