title

property Chart2D.title

Return or set the chart’s title.

Examples

Create a 2D chart with title ‘My Chart’.

>>> import pyvista
>>> chart = pyvista.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> chart.title = 'My Chart'
>>> chart.show()
../../../../_images/pyvista-Chart2D-title-1_00_00.png