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
>>> chart = pyvista.Chart2D()
>>> plot = chart.line([0, 1, 2], [2, 1, 3])
>>> plot.pen.width = 10
>>> chart.show()
https://d33wubrfki0l68.cloudfront.net/341048ed36242bcd0cc692391286fd8c37a54d5d/d1305/_images/pyvista-plotting-charts-pen-width-1_00_00.png