ChartPie.toggle#
Examples#
Download Python source code | Download Jupyter notebook
Create a pie chart.
>>> import pyvista as pv
>>> chart = pv.ChartPie([5, 4, 3, 2, 1])
>>> chart.show()
Hide it.
>>> chart.toggle()
>>> chart.show()
Download Python source code | Download Jupyter notebook
Create a pie chart.
>>> import pyvista as pv
>>> chart = pv.ChartPie([5, 4, 3, 2, 1])
>>> chart.show()
Hide it.
>>> chart.toggle()
>>> chart.show()