pyvista.Property.line_width#
- property Property.line_width: float[source]#
Return or set the line width.
Defaults to
pyvista.plotting.themes.Theme.line_width
.Examples
Change the line width to
10
.>>> import pyvista as pv >>> prop = pv.Property() >>> prop.line_width = 10 >>> prop.line_width 10.0
Visualize the default line width.
>>> prop.line_width = 1.0 >>> prop.show_edges = True >>> prop.plot()
Visualize with a line width of 5.0
>>> prop.line_width = 5.0 >>> prop.plot()