pyvista.Chart2D.title#

property Chart2D.title[source]#

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()
https://d33wubrfki0l68.cloudfront.net/fc1b68efe02543d091146780b9bf1139fafb59e4/0c880/_images/pyvista-chart2d-title-1_00_00.png