pyvista.ChartPie.title

Contents

pyvista.ChartPie.title#

property ChartPie.title[source]#

Return or set the chart’s title.

Examples

Create a pie chart with title ‘My Chart’.

>>> import pyvista as pv
>>> chart = pv.ChartPie([5, 4, 3, 2, 1])
>>> chart.title = 'My Chart'
>>> chart.show()
../../../../_images/pyvista-ChartPie-title-2_00_00.png