pyvista.Property.edge_color#
- property Property.edge_color: Color[source]#
Return or set the edge color of this property.
The solid color to give the edges when
show_edges=True
. Either a string, RGB list, or hex color string.Examples
>>> import pyvista as pv >>> prop = pv.Property() >>> prop.edge_color = 'red' >>> prop.edge_color Color(name='red', hex='#ff0000ff', opacity=255)
Visualize red edges. Set the edge’s visibility to
True
so we can see them.>>> prop.show_edges = True >>> prop.edge_color = 'red' >>> prop.plot()