pyvista.plotting.charts.Pen.width#

property Pen.width[source]#

Return or set the pen’s width.

Examples

Set the pen’s width to 10

>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> plot.pen.width = 10
>>> chart.show()
../../../../_images/pyvista-plotting-charts-Pen-width-2_00_00.png